id
stringlengths
28
30
content
stringlengths
2.68k
886k
max_stars_repo_path
stringlengths
43
98
code_ujb_testgenissue_data_401
// You are a professional Java test case writer, please create a test case named `testFormatWithoutPattern` for the issue `JacksonDatabind-1648`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1648 // // ## Issue-Title: // DateTimeSerializerBase ...
src/test/java/com/fasterxml/jackson/databind/ser/DateSerializationTest.java
code_ujb_testgenissue_data_402
// You are a professional Java test case writer, please create a test case named `testMath1021` for the issue `Math-MATH-1021`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-1021 // // ## Issue-Title: // HypergeometricDistribution.sample suffers from ...
src/test/java/org/apache/commons/math3/distribution/HypergeometricDistributionTest.java
code_ujb_testgenissue_data_403
// You are a professional Java test case writer, please create a test case named `testIssue1125WithDefault` for the issue `JacksonDatabind-1125`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1125 // // ## Issue-Title: // Problem with polymorphi...
src/test/java/com/fasterxml/jackson/databind/jsontype/TestSubtypes.java
code_ujb_testgenissue_data_404
// You are a professional Java test case writer, please create a test case named `testKeepsPreTextAtDepth` for the issue `Jsoup-722`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-722 // // ## Issue-Title: // Whitespaces not properly handled in <pre> tag ...
src/test/java/org/jsoup/nodes/ElementTest.java
code_ujb_testgenissue_data_405
// You are a professional Java test case writer, please create a test case named `testBuilderIsResettedAlways` for the issue `Cli-CLI-177`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-CLI-177 // // ## Issue-Title: // OptionBuilder is not reseted in case o...
src/test/org/apache/commons/cli/OptionBuilderTest.java
code_ujb_testgenissue_data_406
// You are a professional Java test case writer, please create a test case named `testRequire` for the issue `Closure-530`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-530 // // ## Issue-Title: // compiler crashes when goog.provide used with non stri...
test/com/google/javascript/jscomp/ClosureCodingConventionTest.java
code_ujb_testgenissue_data_407
// You are a professional Java test case writer, please create a test case named `testDeserializeBagOfStrings` for the issue `JacksonDatabind-2324`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-2324 // // ## Issue-Title: // StringCollectionDese...
src/test/java/com/fasterxml/jackson/databind/deser/creators/DelegatingArrayCreator2324Test.java
code_ujb_testgenissue_data_408
// You are a professional Java test case writer, please create a test case named `testUnexpectedToken` for the issue `Gson-1100`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Gson-1100 // // ## Issue-Title: // Fixed DefaultDateTypeAdapter nullability issue and...
gson/src/test/java/com/google/gson/DefaultDateTypeAdapterTest.java
code_ujb_testgenissue_data_409
// You are a professional Java test case writer, please create a test case named `testDoubleMetaphoneAlternate` for the issue `Codec-CODEC-84`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Codec-CODEC-84 // // ## Issue-Title: // Double Metaphone bugs in altern...
src/test/org/apache/commons/codec/language/DoubleMetaphone2Test.java
code_ujb_testgenissue_data_410
// You are a professional Java test case writer, please create a test case named `shouldNotThrowNPEWhenNullPassedToSame` for the issue `Mockito-229`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Mockito-229 // // ## Issue-Title: // Fixes #228: fixed a verify()...
test/org/mockitousage/bugs/NPEWithCertainMatchersTest.java
code_ujb_testgenissue_data_411
// You are a professional Java test case writer, please create a test case named `testNonAliasLocal` for the issue `Closure-737`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-737 // // ## Issue-Title: // goog.scope doesn't properly check declared funct...
test/com/google/javascript/jscomp/ScopedAliasesTest.java
code_ujb_testgenissue_data_412
// You are a professional Java test case writer, please create a test case named `testUselessCode` for the issue `Closure-753`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-753 // // ## Issue-Title: // Classify non-rightmost expressions as problematic ...
test/com/google/javascript/jscomp/CheckSideEffectsTest.java
code_ujb_testgenissue_data_413
// You are a professional Java test case writer, please create a test case named `testIssue639` for the issue `Math-MATH-639`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-639 // // ## Issue-Title: // numerical problems in rotation creation // // ##...
src/test/java/org/apache/commons/math/geometry/euclidean/threed/RotationTest.java
code_ujb_testgenissue_data_414
// You are a professional Java test case writer, please create a test case named `booleanAttributesAreEmptyStringValues` for the issue `Jsoup-1065`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-1065 // // ## Issue-Title: // Attribute.getValue() broken fo...
src/test/java/org/jsoup/nodes/AttributeTest.java
code_ujb_testgenissue_data_415
// You are a professional Java test case writer, please create a test case named `mock_should_be_injected_once_and_in_the_best_matching_type` for the issue `Mockito-236`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Mockito-236 // // ## Issue-Title: // nicer t...
test/org/mockitousage/bugs/InjectionByTypeShouldFirstLookForExactTypeThenAncestorTest.java
code_ujb_testgenissue_data_416
// You are a professional Java test case writer, please create a test case named `skipUsingRead` for the issue `Compress-COMPRESS-277`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-277 // // ## Issue-Title: // IOUtils.skip does not work as ad...
src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
code_ujb_testgenissue_data_417
// You are a professional Java test case writer, please create a test case named `testLang720` for the issue `Lang-LANG-720`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-720 // // ## Issue-Title: // StringEscapeUtils.escapeXml(input) outputs wrong r...
src/test/java/org/apache/commons/lang3/StringEscapeUtilsTest.java
code_ujb_testgenissue_data_418
// You are a professional Java test case writer, please create a test case named `testPValueNearZero` for the issue `Math-MATH-371`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-371 // // ## Issue-Title: // PearsonsCorrelation.getCorrelationPValues()...
src/test/java/org/apache/commons/math/stat/correlation/PearsonsCorrelationTest.java
code_ujb_testgenissue_data_419
// You are a professional Java test case writer, please create a test case named `testStructuralConstructor2` for the issue `Closure-1105`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-1105 // // ## Issue-Title: // Constructor types that return all or ...
test/com/google/javascript/jscomp/parsing/JsDocInfoParserTest.java
code_ujb_testgenissue_data_420
// You are a professional Java test case writer, please create a test case named `testIssue1351` for the issue `JacksonDatabind-1417`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1417 // // ## Issue-Title: // Further issues with @JsonInclude w...
src/test/java/com/fasterxml/jackson/databind/filter/JsonIncludeTest.java
code_ujb_testgenissue_data_421
// You are a professional Java test case writer, please create a test case named `testRecursiveTypeVariablesResolve12` for the issue `Gson-1128`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Gson-1128 // // ## Issue-Title: // Fix StackOverflowError on resolvin...
gson/src/test/java/com/google/gson/internal/bind/RecursiveTypesResolveTest.java
code_ujb_testgenissue_data_422
// You are a professional Java test case writer, please create a test case named `testParseOctalInvalid` for the issue `Compress-COMPRESS-113`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-113 // // ## Issue-Title: // TarArchiveEntry.parseTar...
src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
code_ujb_testgenissue_data_423
// You are a professional Java test case writer, please create a test case named `testIssue942` for the issue `Math-MATH-942`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-942 // // ## Issue-Title: // DiscreteDistribution.sample(int) may throw an exc...
src/test/java/org/apache/commons/math3/distribution/DiscreteRealDistributionTest.java
code_ujb_testgenissue_data_424
// You are a professional Java test case writer, please create a test case named `testIssue701` for the issue `Closure-701`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-701 // // ## Issue-Title: // Preserve doesn't preserve whitespace at start of line...
test/com/google/javascript/jscomp/IntegrationTest.java
code_ujb_testgenissue_data_425
// You are a professional Java test case writer, please create a test case named `testPrintOptionWithEmptyArgNameUsage` for the issue `Cli-cli-1`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-cli-1 // // ## Issue-Title: // PosixParser interupts "-target op...
src/test/org/apache/commons/cli/HelpFormatterTest.java
code_ujb_testgenissue_data_426
// You are a professional Java test case writer, please create a test case named `testMath272` for the issue `Math-MATH-272`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-272 // // ## Issue-Title: // Simplex Solver arrives at incorrect solution // /...
src/test/org/apache/commons/math/optimization/linear/SimplexSolverTest.java
code_ujb_testgenissue_data_427
// You are a professional Java test case writer, please create a test case named `testIterationConsistency` for the issue `Math-MATH-552`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-552 // // ## Issue-Title: // MultidimensionalCounter.getCounts(int...
src/test/java/org/apache/commons/math/util/MultidimensionalCounterTest.java
code_ujb_testgenissue_data_428
// You are a professional Java test case writer, please create a test case named `normalizesDiscordantTags` for the issue `Jsoup-998`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-998 // // ## Issue-Title: // xmlParser() with ParseSettings.htmlDefault do...
src/test/java/org/jsoup/parser/XmlTreeBuilderTest.java
code_ujb_testgenissue_data_429
// You are a professional Java test case writer, please create a test case named `winzipBackSlashWorkaround` for the issue `Compress-COMPRESS-176`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-176 // // ## Issue-Title: // ArchiveInputStream#g...
src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java
code_ujb_testgenissue_data_430
// You are a professional Java test case writer, please create a test case named `testLargeSample` for the issue `Math-MATH-924`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-924 // // ## Issue-Title: // new multivariate vector optimizers cannot be u...
src/test/java/org/apache/commons/math3/optimization/fitting/PolynomialFitterTest.java
code_ujb_testgenissue_data_431
// You are a professional Java test case writer, please create a test case named `testGettersSetters` for the issue `Compress-COMPRESS-416`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-416 // // ## Issue-Title: // Tests failing under jdk 9 :...
src/test/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestampTest.java
code_ujb_testgenissue_data_432
// You are a professional Java test case writer, please create a test case named `testProcessClosurePrimitives` for the issue `Closure-130`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-130 // // ## Issue-Title: // --process_closure_primitives can't be...
test/com/google/javascript/jscomp/CommandLineRunnerTest.java
code_ujb_testgenissue_data_433
// You are a professional Java test case writer, please create a test case named `shortTextFilesAreNoTARs` for the issue `Compress-COMPRESS-171`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-171 // // ## Issue-Title: // createArchiveInputStre...
src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
code_ujb_testgenissue_data_434
// You are a professional Java test case writer, please create a test case named `testLongLineChunkingIndentIgnored` for the issue `Cli-CLI-162`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-CLI-162 // // ## Issue-Title: // infinite loop in the wrapping co...
src/test/org/apache/commons/cli/bug/BugCLI162Test.java
code_ujb_testgenissue_data_435
// You are a professional Java test case writer, please create a test case named `testIssue716` for the issue `Math-MATH-716`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-716 // // ## Issue-Title: // BracketingNthOrderBrentSolver exceeds maxIteratio...
src/test/java/org/apache/commons/math/analysis/solvers/BracketingNthOrderBrentSolverTest.java
code_ujb_testgenissue_data_436
// You are a professional Java test case writer, please create a test case named `testThisTypeOfFunction2` for the issue `Closure-440`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-440 // // ## Issue-Title: // Compiler should warn/error when instance m...
test/com/google/javascript/jscomp/TypeCheckTest.java
code_ujb_testgenissue_data_437
// You are a professional Java test case writer, please create a test case named `consumeToNonexistentEndWhenAtAnd` for the issue `Jsoup-972`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-972 // // ## Issue-Title: // StringIndexOutOfBoundsException as of...
src/test/java/org/jsoup/parser/CharacterReaderTest.java
code_ujb_testgenissue_data_438
// You are a professional Java test case writer, please create a test case named `handlesFramesets` for the issue `Jsoup-154`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-154 // // ## Issue-Title: // NullpointerException when applying Cleaner to a frame...
src/test/java/org/jsoup/safety/CleanerTest.java
code_ujb_testgenissue_data_439
// You are a professional Java test case writer, please create a test case named `fallbackToUtfIfCantEncode` for the issue `Jsoup-1007`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-1007 // // ## Issue-Title: // UnsupportedOperationException thrown for c...
src/test/java/org/jsoup/parser/HtmlParserTest.java
code_ujb_testgenissue_data_440
// You are a professional Java test case writer, please create a test case named `testZero` for the issue `Closure-383`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-383 // // ## Issue-Title: // \0 \x00 and \u0000 are translated to null character // /...
test/com/google/javascript/jscomp/CodePrinterTest.java
code_ujb_testgenissue_data_441
// You are a professional Java test case writer, please create a test case named `handlesControlCodeInAttributeName` for the issue `Jsoup-793`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-793 // // ## Issue-Title: // Jsoup.clean control characters throw...
src/test/java/org/jsoup/parser/HtmlParserTest.java
code_ujb_testgenissue_data_442
// You are a professional Java test case writer, please create a test case named `readEntriesOfSize0` for the issue `Compress-COMPRESS-348`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-348 // // ## Issue-Title: // Calling SevenZFile.read() o...
src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
code_ujb_testgenissue_data_443
// You are a professional Java test case writer, please create a test case named `testIssue941` for the issue `JacksonDatabind-941`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-941 // // ## Issue-Title: // Deserialization from "{}" to ObjectNo...
src/test/java/com/fasterxml/jackson/databind/node/TestObjectNode.java
code_ujb_testgenissue_data_444
// You are a professional Java test case writer, please create a test case named `testIssue1056` for the issue `Closure-1056`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-1056 // // ## Issue-Title: // initial type of variable wrong when initialize in ...
test/com/google/javascript/jscomp/TypeCheckTest.java
code_ujb_testgenissue_data_445
// You are a professional Java test case writer, please create a test case named `testFunctionArguments16` for the issue `Closure-229`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-229 // // ## Issue-Title: // Missing type-checks for var_args notation ...
test/com/google/javascript/jscomp/TypeCheckTest.java
code_ujb_testgenissue_data_446
// You are a professional Java test case writer, please create a test case named `testMinusNegativeZero` for the issue `Closure-657`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-657 // // ## Issue-Title: // Identifier minus a negative number needs a s...
test/com/google/javascript/jscomp/CodePrinterTest.java
code_ujb_testgenissue_data_447
// You are a professional Java test case writer, please create a test case named `testPropertyOfMethod` for the issue `Closure-125`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-125 // // ## Issue-Title: // Prototypes declared with quotes produce a JSC...
test/com/google/javascript/jscomp/CheckGlobalThisTest.java
code_ujb_testgenissue_data_448
// You are a professional Java test case writer, please create a test case named `testBase64EmptyInputStream` for the issue `Codec-CODEC-77`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Codec-CODEC-77 // // ## Issue-Title: // Base64 bug with empty input (new ...
src/test/org/apache/commons/codec/binary/Base64InputStreamTest.java
code_ujb_testgenissue_data_449
// You are a professional Java test case writer, please create a test case named `testFormat` for the issue `Lang-LANG-719`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-719 // // ## Issue-Title: // FastDateFormat formats year differently than Simple...
src/test/java/org/apache/commons/lang3/time/FastDateFormatTest.java
code_ujb_testgenissue_data_450
// You are a professional Java test case writer, please create a test case named `testLocalValue1` for the issue `Closure-303`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-303 // // ## Issue-Title: // side-effects analysis incorrectly removing functio...
test/com/google/javascript/jscomp/NodeUtilTest.java
code_ujb_testgenissue_data_451
// You are a professional Java test case writer, please create a test case named `shouldMatchCaptureArgumentsWhenArgsCountDoesNOTMatch` for the issue `Mockito-157`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Mockito-157 // // ## Issue-Title: // Source files ...
test/org/mockito/internal/invocation/InvocationMatcherTest.java