id
stringlengths
28
30
content
stringlengths
2.68k
886k
max_stars_repo_path
stringlengths
43
98
code_ujb_testgenissue_data_201
// You are a professional Java test case writer, please create a test case named `testIssue794b` for the issue `Closure-794`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-794 // // ## Issue-Title: // Try/catch blocks incorporate code not inside origina...
test/com/google/javascript/jscomp/FlowSensitiveInlineVariablesTest.java
code_ujb_testgenissue_data_202
// You are a professional Java test case writer, please create a test case named `testWith3` for the issue `Time-88`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-88 // // ## Issue-Title: // Constructing invalid Partials // // ## Issue-Description: // P...
src/test/java/org/joda/time/TestPartial_Basics.java
code_ujb_testgenissue_data_203
// You are a professional Java test case writer, please create a test case named `testExample` for the issue `JacksonDatabind-1328`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1328 // // ## Issue-Title: // External property polymorphic deseri...
src/test/java/com/fasterxml/jackson/databind/jsontype/ext/ExternalTypeIdWithEnum1328Test.java
code_ujb_testgenissue_data_204
// You are a professional Java test case writer, please create a test case named `testIterator` for the issue `Math-MATH-779`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-779 // // ## Issue-Title: // ListPopulation Iterator allows you to remove chro...
src/test/java/org/apache/commons/math3/genetics/ListPopulationTest.java
code_ujb_testgenissue_data_205
// You are a professional Java test case writer, please create a test case named `testSupplementaryUnescaping` for the issue `Lang-LANG-617`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-617 // // ## Issue-Title: // StringEscapeUtils.escapeXML() can'...
src/test/java/org/apache/commons/lang3/text/translate/NumericEntityUnescaperTest.java
code_ujb_testgenissue_data_206
// You are a professional Java test case writer, please create a test case named `testRootEndpoints` for the issue `Math-MATH-204`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-204 // // ## Issue-Title: // BrentSolver throws IllegalArgumentException ...
src/test/org/apache/commons/math/analysis/BrentSolverTest.java
code_ujb_testgenissue_data_207
// You are a professional Java test case writer, please create a test case named `testAbbreviate` for the issue `Lang-LANG-419`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-419 // // ## Issue-Title: // WordUtils.abbreviate bug when lower is greater ...
src/test/org/apache/commons/lang/WordUtilsTest.java
code_ujb_testgenissue_data_208
// You are a professional Java test case writer, please create a test case named `testSmallDistances` for the issue `Math-MATH-546`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-546 // // ## Issue-Title: // Truncation issue in KMeansPlusPlusClusterer...
src/test/java/org/apache/commons/math/stat/clustering/KMeansPlusPlusClustererTest.java
code_ujb_testgenissue_data_209
// You are a professional Java test case writer, please create a test case named `testIssue538` for the issue `Closure-538`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-538 // // ## Issue-Title: // Exception when emitting code containing getters // /...
test/com/google/javascript/jscomp/FunctionRewriterTest.java
code_ujb_testgenissue_data_210
// You are a professional Java test case writer, please create a test case named `settersOnOrphanAttribute` for the issue `Jsoup-1107`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-1107 // // ## Issue-Title: // NPE in Attribute.setValue() for attribute w...
src/test/java/org/jsoup/nodes/AttributeTest.java
code_ujb_testgenissue_data_211
// You are a professional Java test case writer, please create a test case named `testRecordInference` for the issue `Closure-785`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-785 // // ## Issue-Title: // anonymous object type inference inconsistency ...
test/com/google/javascript/jscomp/TypeInferenceTest.java
code_ujb_testgenissue_data_212
// You are a professional Java test case writer, please create a test case named `testDateDeserializationISO8601` for the issue `Gson-768`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Gson-768 // // ## Issue-Title: // ISO8601 is not fully implemented // // #...
gson/src/test/java/com/google/gson/DefaultDateTypeAdapterTest.java
code_ujb_testgenissue_data_213
// You are a professional Java test case writer, please create a test case named `testMath679` for the issue `Math-MATH-679`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-679 // // ## Issue-Title: // Integer overflow in OpenMapRealMatrix // // ## Is...
src/test/java/org/apache/commons/math/linear/OpenMapRealMatrixTest.java
code_ujb_testgenissue_data_214
// You are a professional Java test case writer, please create a test case named `testGetLineNumberWithCR` for the issue `Csv-CSV-75`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Csv-CSV-75 // // ## Issue-Title: // ExtendedBufferReader does not handle EOL con...
src/test/java/org/apache/commons/csv/CSVParserTest.java
code_ujb_testgenissue_data_215
// You are a professional Java test case writer, please create a test case named `testLocationOffsets` for the issue `JacksonCore-531`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonCore-531 // // ## Issue-Title: // Non-blocking parser reports incorrect ...
src/test/java/com/fasterxml/jackson/core/json/async/AsyncLocationTest.java
code_ujb_testgenissue_data_216
// You are a professional Java test case writer, please create a test case named `testWonkyNumber173` for the issue `JacksonCore-173`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonCore-173 // // ## Issue-Title: // An exception is thrown for a valid Json...
src/test/java/com/fasterxml/jackson/core/TestJsonPointer.java
code_ujb_testgenissue_data_217
// You are a professional Java test case writer, please create a test case named `testLang328` for the issue `Lang-LANG-328`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-328 // // ## Issue-Title: // LocaleUtils.toLocale() rejects strings with only l...
src/test/org/apache/commons/lang/LocaleUtilsTest.java
code_ujb_testgenissue_data_218
// You are a professional Java test case writer, please create a test case named `testContainsIgnoreCase_LocaleIndependence` for the issue `Lang-LANG-432`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-432 // // ## Issue-Title: // Fix case-insensitive...
src/test/org/apache/commons/lang/StringUtilsEqualsIndexOfTest.java
code_ujb_testgenissue_data_219
// You are a professional Java test case writer, please create a test case named `testIssue779` for the issue `Closure-779`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-779 // // ## Issue-Title: // bogus 'missing return' warning // // ## Issue-Descri...
test/com/google/javascript/jscomp/CheckMissingReturnTest.java
code_ujb_testgenissue_data_220
// You are a professional Java test case writer, please create a test case named `handlesAbsPrefixOnHasAttr` for the issue `Jsoup-97`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-97 // // ## Issue-Title: // abs: attribute prefix does not work on Element...
src/test/java/org/jsoup/nodes/NodeTest.java
code_ujb_testgenissue_data_221
// You are a professional Java test case writer, please create a test case named `testSingletonGetter1` for the issue `Closure-668`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-668 // // ## Issue-Title: // goog.addSingletonGetter prevents unused class...
test/com/google/javascript/jscomp/IntegrationTest.java
code_ujb_testgenissue_data_222
// You are a professional Java test case writer, please create a test case named `testIssue700` for the issue `Closure-700`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-700 // // ## Issue-Title: // weird object literal invalid property error on unrela...
test/com/google/javascript/jscomp/TypeCheckTest.java
code_ujb_testgenissue_data_223
// You are a professional Java test case writer, please create a test case named `testNestedTypeCheck1735` for the issue `JacksonDatabind-1735`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1735 // // ## Issue-Title: // Missing type checks when...
src/test/java/com/fasterxml/jackson/databind/jsontype/GenericTypeId1735Test.java
code_ujb_testgenissue_data_224
// You are a professional Java test case writer, please create a test case named `testExpressionInForIn` for the issue `Closure-528`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-528 // // ## Issue-Title: // Online CC bug: report java error. // // ## ...
test/com/google/javascript/jscomp/LiveVariableAnalysisTest.java
code_ujb_testgenissue_data_225
// You are a professional Java test case writer, please create a test case named `testMathpbx02` for the issue `Math-MATH-318`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-318 // // ## Issue-Title: // wrong result in eigen decomposition // // ## Is...
src/test/java/org/apache/commons/math/linear/EigenDecompositionImplTest.java
code_ujb_testgenissue_data_226
// You are a professional Java test case writer, please create a test case named `testSimple` for the issue `JacksonDatabind-1083`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1083 // // ## Issue-Title: // Field in base class is not recognized...
src/test/java/com/fasterxml/jackson/databind/objectid/Objecid1083Test.java
code_ujb_testgenissue_data_227
// You are a professional Java test case writer, please create a test case named `testMinimizeMaximize` for the issue `Math-MATH-283`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-283 // // ## Issue-Title: // MultiDirectional optimzation loops forver...
src/test/java/org/apache/commons/math/optimization/direct/MultiDirectionalTest.java
code_ujb_testgenissue_data_228
// You are a professional Java test case writer, please create a test case named `testContainsAnyCharArrayWithSupplementaryChars` for the issue `Lang-LANG-607`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-607 // // ## Issue-Title: // StringUtils met...
src/test/java/org/apache/commons/lang3/StringUtilsEqualsIndexOfTest.java
code_ujb_testgenissue_data_229
// You are a professional Java test case writer, please create a test case named `testInverseExternalId928` for the issue `JacksonDatabind-928`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-928 // // ## Issue-Title: // Problem deserializing Ext...
src/test/java/com/fasterxml/jackson/databind/jsontype/TestExternalId.java
code_ujb_testgenissue_data_230
// You are a professional Java test case writer, please create a test case named `testForOffsetHoursMinutes_int_int` for the issue `Time-42`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-42 // // ## Issue-Title: // DateTimeZone.forOffsetHoursMinutes canno...
src/test/java/org/joda/time/TestDateTimeZone.java
code_ujb_testgenissue_data_231
// You are a professional Java test case writer, please create a test case named `testClonesClassnames` for the issue `Jsoup-278`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-278 // // ## Issue-Title: // Element.clone() wrongly shared a same classNames ...
src/test/java/org/jsoup/nodes/ElementTest.java
code_ujb_testgenissue_data_232
// You are a professional Java test case writer, please create a test case named `testParseLocalDate_weekyear_month_week_2010` for the issue `Time-107`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-107 // // ## Issue-Title: // #107 Incorrect date parsed w...
src/test/java/org/joda/time/format/TestDateTimeFormatter.java
code_ujb_testgenissue_data_233
// You are a professional Java test case writer, please create a test case named `testCodec112` for the issue `Codec-CODEC-112`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Codec-CODEC-112 // // ## Issue-Title: // Base64.encodeBase64(byte[] binaryData, boolea...
src/test/org/apache/commons/codec/binary/Base64Test.java
code_ujb_testgenissue_data_234
// You are a professional Java test case writer, please create a test case named `testDontRemoveBreakInTryFinally` for the issue `Closure-936`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-936 // // ## Issue-Title: // Break in finally block isn't optim...
test/com/google/javascript/jscomp/MinimizeExitPointsTest.java
code_ujb_testgenissue_data_235
// You are a professional Java test case writer, please create a test case named `parsesQuiteRoughAttributes` for the issue `Jsoup-32`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-32 // // ## Issue-Title: // StringIndexOutOfBoundsException when testing ...
src/test/java/org/jsoup/parser/ParserTest.java
code_ujb_testgenissue_data_236
// You are a professional Java test case writer, please create a test case named `testCustomMapValueDeser735` for the issue `JacksonDatabind-735`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-735 // // ## Issue-Title: // @JsonDeserialize on Map...
src/test/java/com/fasterxml/jackson/databind/deser/TestCustomDeserializers.java
code_ujb_testgenissue_data_237
// You are a professional Java test case writer, please create a test case named `testIssue284` for the issue `Closure-284`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-284 // // ## Issue-Title: // smartNameRemoval causing compiler crash // // ## Iss...
test/com/google/javascript/jscomp/IntegrationTest.java
code_ujb_testgenissue_data_238
// You are a professional Java test case writer, please create a test case named `testMinpackJennrichSampson` for the issue `Math-MATH-405`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-405 // // ## Issue-Title: // Inconsistent result from Levenberg-...
src/test/java/org/apache/commons/math/optimization/general/MinpackTest.java
code_ujb_testgenissue_data_239
// You are a professional Java test case writer, please create a test case named `testToMapWithNoHeader` for the issue `Csv-CSV-118`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Csv-CSV-118 // // ## Issue-Title: // CSVRecord.toMap() throws NPE on formats with...
src/test/java/org/apache/commons/csv/CSVRecordTest.java
code_ujb_testgenissue_data_240
// You are a professional Java test case writer, please create a test case named `testRoundTripNames` for the issue `Compress-COMPRESS-114`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-114 // // ## Issue-Title: // TarUtils.parseName does not...
src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
code_ujb_testgenissue_data_241
// You are a professional Java test case writer, please create a test case named `testKeepInitIfBest` for the issue `Math-MATH-855`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-855 // // ## Issue-Title: // "BrentOptimizer" not always reporting the b...
src/test/java/org/apache/commons/math3/optimization/univariate/BrentOptimizerTest.java
code_ujb_testgenissue_data_242
// You are a professional Java test case writer, please create a test case named `testForID_String_old` for the issue `Time-112`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-112 // // ## Issue-Title: // #112 Incorrect mapping of the MET time zone // // ...
src/test/java/org/joda/time/TestDateTimeZone.java
code_ujb_testgenissue_data_243
// You are a professional Java test case writer, please create a test case named `testCompressedHeaderWithNonDefaultDictionarySize` for the issue `Compress-COMPRESS-256`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-256 // // ## Issue-Title: ...
src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
code_ujb_testgenissue_data_244
// You are a professional Java test case writer, please create a test case named `testDependencySortingWhitespaceMode` for the issue `Closure-703`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-703 // // ## Issue-Title: // Add support for --manage_closu...
test/com/google/javascript/jscomp/CommandLineRunnerTest.java
code_ujb_testgenissue_data_245
// You are a professional Java test case writer, please create a test case named `testCodec98NPE` for the issue `Codec-CODEC-98`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Codec-CODEC-98 // // ## Issue-Title: // Base64InputStream causes NullPointerException...
src/test/org/apache/commons/codec/binary/Base64InputStreamTest.java
code_ujb_testgenissue_data_246
// You are a professional Java test case writer, please create a test case named `testMath828Cycle` for the issue `Math-MATH-828`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-828 // // ## Issue-Title: // Not expected UnboundedSolutionException // /...
src/test/java/org/apache/commons/math3/optimization/linear/SimplexSolverTest.java
code_ujb_testgenissue_data_247
// You are a professional Java test case writer, please create a test case named `workaroundForBrokenTimeHeader` for the issue `Compress-COMPRESS-181`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-181 // // ## Issue-Title: // Tar files create...
src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStreamTest.java
code_ujb_testgenissue_data_248
// You are a professional Java test case writer, please create a test case named `testFailOnWritingStringNotFieldNameBytes` for the issue `JacksonCore-177`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonCore-177 // // ## Issue-Title: // Add a check so Js...
src/test/java/com/fasterxml/jackson/core/json/GeneratorFailTest.java
code_ujb_testgenissue_data_249
// You are a professional Java test case writer, please create a test case named `testEqCondition4` for the issue `Closure-172`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-172 // // ## Issue-Title: // bad type inference for != undefined // // ## Iss...
test/com/google/javascript/jscomp/SemanticReverseAbstractInterpreterTest.java
code_ujb_testgenissue_data_250
// You are a professional Java test case writer, please create a test case named `testIssue115` for the issue `Closure-115`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-115 // // ## Issue-Title: // compiler assumes that 'arguments' can be shadowed // ...
test/com/google/javascript/jscomp/CompilerRunnerTest.java
code_ujb_testgenissue_data_251
// You are a professional Java test case writer, please create a test case named `testToClass_object` for the issue `Lang-LANG-587`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-587 // // ## Issue-Title: // ClassUtils.toClass(Object[]) throws NPE on ...
src/test/java/org/apache/commons/lang3/ClassUtilsTest.java
code_ujb_testgenissue_data_252
// You are a professional Java test case writer, please create a test case named `testCreateNumber` for the issue `Lang-LANG-746`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-746 // // ## Issue-Title: // NumberUtils does not handle upper-case hex: 0...
src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
code_ujb_testgenissue_data_253
// You are a professional Java test case writer, please create a test case named `testRecursiveRecord` for the issue `Closure-643`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-643 // // ## Issue-Title: // externExport with @typedef can generate invali...
test/com/google/javascript/rhino/jstype/RecordTypeTest.java
code_ujb_testgenissue_data_254
// You are a professional Java test case writer, please create a test case named `testLocalType728` for the issue `JacksonDatabind-609`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-609 // // ## Issue-Title: // Problem resolving locally declare...
src/test/java/com/fasterxml/jackson/databind/type/TestJavaType.java
code_ujb_testgenissue_data_255
// You are a professional Java test case writer, please create a test case named `testExtremeValues` for the issue `Math-MATH-167`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-167 // // ## Issue-Title: // ConvergenceException in normal CDF // // ##...
src/test/org/apache/commons/math/distribution/NormalDistributionTest.java
code_ujb_testgenissue_data_256
// You are a professional Java test case writer, please create a test case named `testArrayWithDefaultTyping` for the issue `JacksonDatabind-793`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-793 // // ## Issue-Title: // readTree does not work ...
src/test/java/com/fasterxml/jackson/databind/node/TestJsonNode.java
code_ujb_testgenissue_data_257
// You are a professional Java test case writer, please create a test case named `testNormalizedStandard_periodType_months1` for the issue `Time-79`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-79 // // ## Issue-Title: // none standard PeriodType without...
src/test/java/org/joda/time/TestPeriod_Basics.java
code_ujb_testgenissue_data_258
// You are a professional Java test case writer, please create a test case named `testIssue1107` for the issue `Gson-1107`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Gson-1107 // // ## Issue-Title: // Gson deserializes wildcards to LinkedHashMap // // ## I...
gson/src/test/java/com/google/gson/functional/CollectionTest.java
code_ujb_testgenissue_data_259
// You are a professional Java test case writer, please create a test case named `testWriteNonAsciiDirectoryNamePosixMode` for the issue `Compress-COMPRESS-203`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-203 // // ## Issue-Title: // Long d...
src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveOutputStreamTest.java
code_ujb_testgenissue_data_260
// You are a professional Java test case writer, please create a test case named `testSnakeCaseWithOneArg` for the issue `JacksonDatabind-2051`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-2051 // // ## Issue-Title: // Implicit constructor pro...
src/test/java/com/fasterxml/jackson/databind/deser/creators/CreatorWithNamingStrategyTest.java
code_ujb_testgenissue_data_261
// You are a professional Java test case writer, please create a test case named `nextIndexOfUnmatched` for the issue `Jsoup-349`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-349 // // ## Issue-Title: // Parser error on commented CDATA // // ## Issue-D...
src/test/java/org/jsoup/parser/CharacterReaderTest.java
code_ujb_testgenissue_data_262
// You are a professional Java test case writer, please create a test case named `testNoHeaderMap` for the issue `Csv-CSV-100`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Csv-CSV-100 // // ## Issue-Title: // CSVParser: getHeaderMap throws NPE // // ## Issue...
src/test/java/org/apache/commons/csv/CSVParserTest.java
code_ujb_testgenissue_data_263
// You are a professional Java test case writer, please create a test case named `testEmpty` for the issue `JacksonCore-182`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonCore-182 // // ## Issue-Title: // Inconsistent TextBuffer#getTextBuffer behavior /...
src/test/java/com/fasterxml/jackson/core/util/TestTextBuffer.java
code_ujb_testgenissue_data_264
// You are a professional Java test case writer, please create a test case named `testStripLeadingAndTrailingQuotes` for the issue `Cli-CLI-185`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-CLI-185 // // ## Issue-Title: // Commons CLI incorrectly strippin...
src/test/org/apache/commons/cli/UtilTest.java
code_ujb_testgenissue_data_265
// You are a professional Java test case writer, please create a test case named `testNumericKeys` for the issue `Closure-569`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-569 // // ## Issue-Title: // Converts string properties into numbers in literal...
test/com/google/javascript/jscomp/CodePrinterTest.java
code_ujb_testgenissue_data_266
// You are a professional Java test case writer, please create a test case named `testDependencySorting` for the issue `Closure-768`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-768 // // ## Issue-Title: // Dependency sorting with closurePass set to f...
test/com/google/javascript/jscomp/IntegrationTest.java
code_ujb_testgenissue_data_267
// You are a professional Java test case writer, please create a test case named `testRoundLang346` for the issue `Lang-LANG-346`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-346 // // ## Issue-Title: // Dates.round() behaves incorrectly for minutes...
src/test/org/apache/commons/lang/time/DateUtilsTest.java
code_ujb_testgenissue_data_268
// You are a professional Java test case writer, please create a test case named `testIssue631` for the issue `Math-MATH-631`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-631 // // ## Issue-Title: // "RegulaFalsiSolver" failure // // ## Issue-Descr...
src/test/java/org/apache/commons/math/analysis/solvers/RegulaFalsiSolverTest.java
code_ujb_testgenissue_data_269
// You are a professional Java test case writer, please create a test case named `supportsBOMinFiles` for the issue `Jsoup-695`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-695 // // ## Issue-Title: // UTF16 streams with BOM are processed as UTF-8 // /...
src/test/java/org/jsoup/helper/DataUtilTest.java
code_ujb_testgenissue_data_270
// You are a professional Java test case writer, please create a test case named `testReplace_StringStringArrayStringArray` for the issue `Lang-LANG-552`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-552 // // ## Issue-Title: // StringUtils replaceEa...
src/test/org/apache/commons/lang3/StringUtilsTest.java
code_ujb_testgenissue_data_271
// You are a professional Java test case writer, please create a test case named `testStop3` for the issue `Cli-CLI-165`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-CLI-165 // // ## Issue-Title: // PosixParser keeps processing tokens after a non unrecogn...
src/test/org/apache/commons/cli/PosixParserTest.java
code_ujb_testgenissue_data_272
// You are a professional Java test case writer, please create a test case named `testTooLargeFirstStep` for the issue `Math-MATH-727`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-727 // // ## Issue-Title: // too large first step with embedded Runge...
src/test/java/org/apache/commons/math/ode/nonstiff/DormandPrince853IntegratorTest.java
code_ujb_testgenissue_data_273
// You are a professional Java test case writer, please create a test case named `should_capture_arguments_when_args_count_does_NOT_match` for the issue `Mockito-188`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Mockito-188 // // ## Issue-Title: // ArgumentCa...
test/org/mockito/internal/invocation/InvocationMatcherTest.java
code_ujb_testgenissue_data_274
// You are a professional Java test case writer, please create a test case named `testBackwardsInferenceNew` for the issue `Closure-729`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-729 // // ## Issue-Title: // anonymous object type inference behavior...
test/com/google/javascript/jscomp/TypeInferenceTest.java
code_ujb_testgenissue_data_275
// You are a professional Java test case writer, please create a test case named `testParseOctal` for the issue `Compress-COMPRESS-262`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-262 // // ## Issue-Title: // TarArchiveInputStream fails to ...
src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
code_ujb_testgenissue_data_276
// You are a professional Java test case writer, please create a test case named `testLinearCombinationWithSingleElementArray` for the issue `Math-MATH-1005`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-1005 // // ## Issue-Title: // ArrayIndexOutOfB...
src/test/java/org/apache/commons/math3/util/MathArraysTest.java
code_ujb_testgenissue_data_277
// You are a professional Java test case writer, please create a test case named `testCreateValueInteger_failure` for the issue `Cli-CLI-282`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-CLI-282 // // ## Issue-Title: // TypeHandler should throw ParseExcep...
src/test/java/org/apache/commons/cli/TypeHandlerTest.java
code_ujb_testgenissue_data_278
// You are a professional Java test case writer, please create a test case named `testXmlAttributesWithNextTextValue` for the issue `JacksonXml-204`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonXml-204 // // ## Issue-Title: // FromXMLParser nextTextVal...
src/test/java/com/fasterxml/jackson/dataformat/xml/stream/XmlParserNextXxxTest.java
code_ujb_testgenissue_data_279
// You are a professional Java test case writer, please create a test case named `shouldAllowVerifyingWhenOtherMockCallIsInTheSameLine` for the issue `Mockito-138`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Mockito-138 // // ## Issue-Title: // fix proposal ...
test/org/mockitousage/bugs/VerifyingWithAnExtraCallToADifferentMockTest.java
code_ujb_testgenissue_data_280
// You are a professional Java test case writer, please create a test case named `testAliasing7` for the issue `Closure-459`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-459 // // ## Issue-Title: // Advanced compilations renames a function and then de...
test/com/google/javascript/jscomp/RemoveUnusedPrototypePropertiesTest.java
code_ujb_testgenissue_data_281
// You are a professional Java test case writer, please create a test case named `should_return_empty_iterable` for the issue `Mockito-210`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Mockito-210 // // ## Issue-Title: // Return empty value for Iterables // ...
test/org/mockito/internal/stubbing/defaultanswers/ReturnsEmptyValuesTest.java
code_ujb_testgenissue_data_282
// You are a professional Java test case writer, please create a test case named `testToPeriod_fixedZone` for the issue `Time-113`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-113 // // ## Issue-Title: // #113 Duration.toPeriod with fixed time zones. // ...
src/test/java/org/joda/time/TestDuration_Basics.java
code_ujb_testgenissue_data_283
// You are a professional Java test case writer, please create a test case named `testAssignWithCall` for the issue `Closure-1085`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-1085 // // ## Issue-Title: // Crash on the web closure compiler // // ## I...
test/com/google/javascript/jscomp/NameAnalyzerTest.java
code_ujb_testgenissue_data_284
// You are a professional Java test case writer, please create a test case named `testImplementsExtendsLoop` for the issue `Closure-873`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-873 // // ## Issue-Title: // Converting from an interface type to a c...
test/com/google/javascript/jscomp/TypeCheckTest.java
code_ujb_testgenissue_data_285
// You are a professional Java test case writer, please create a test case named `testFileValidator` for the issue `Cli-CLI-144`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-CLI-144 // // ## Issue-Title: // adding a FileValidator results in ClassCastExcep...
src/test/org/apache/commons/cli2/bug/BugCLI144Test.java
code_ujb_testgenissue_data_286
// You are a professional Java test case writer, please create a test case named `testMath713NegativeVariable` for the issue `Math-MATH-713`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-713 // // ## Issue-Title: // Negative value with restrictNonNeg...
src/test/java/org/apache/commons/math/optimization/linear/SimplexSolverTest.java
code_ujb_testgenissue_data_287
// You are a professional Java test case writer, please create a test case named `testEqualsCS1` for the issue `Codec-CODEC-231`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Codec-CODEC-231 // // ## Issue-Title: // StringUtils.equals(CharSequence cs1, CharSeq...
src/test/java/org/apache/commons/codec/binary/StringUtilsTest.java
code_ujb_testgenissue_data_288
// You are a professional Java test case writer, please create a test case named `testGcd` for the issue `Math-MATH-238`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-238 // // ## Issue-Title: // MathUtils.gcd(u, v) fails when u and v both contain a ...
src/test/org/apache/commons/math/util/MathUtilsTest.java
code_ujb_testgenissue_data_289
// You are a professional Java test case writer, please create a test case named `testHashAndEquals` for the issue `Jsoup-537`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-537 // // ## Issue-Title: // Element.hashCode() ignores the content text of the e...
src/test/java/org/jsoup/nodes/ElementTest.java
code_ujb_testgenissue_data_290
// You are a professional Java test case writer, please create a test case named `testExpand` for the issue `JacksonCore-152`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonCore-152 // // ## Issue-Title: // What is the maximum key length allowed? // // ...
src/test/java/com/fasterxml/jackson/core/util/TestTextBuffer.java
code_ujb_testgenissue_data_291
// You are a professional Java test case writer, please create a test case named `shouldWorkFineWhenGivenArgIsNull` for the issue `Mockito-79`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Mockito-79 // // ## Issue-Title: // Generate change list separated by t...
test/org/mockito/internal/verification/argumentmatching/ArgumentMatchingToolTest.java
code_ujb_testgenissue_data_292
// You are a professional Java test case writer, please create a test case named `testZero` for the issue `Closure-486`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-486 // // ## Issue-Title: // String escaping mishandles null byte // // ## Issue-Desc...
test/com/google/javascript/jscomp/CodePrinterTest.java
code_ujb_testgenissue_data_293
// You are a professional Java test case writer, please create a test case named `testSingleOptionSingleArgument` for the issue `Cli-CLI-158`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-CLI-158 // // ## Issue-Title: // deafult arguments only works if no ...
src/test/org/apache/commons/cli2/bug/BugCLI158Test.java
code_ujb_testgenissue_data_294
// You are a professional Java test case writer, please create a test case named `testDelegateWithTokenBuffer` for the issue `JacksonDatabind-592`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-592 // // ## Issue-Title: // Possibly wrong TokenBu...
src/test/java/com/fasterxml/jackson/databind/creators/TestCreatorsDelegating.java
code_ujb_testgenissue_data_295
// You are a professional Java test case writer, please create a test case named `validatesKeysNotEmpty` for the issue `Jsoup-1159`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-1159 // // ## Issue-Title: // Attribute.java line 45 variable key scope erro...
src/test/java/org/jsoup/nodes/AttributeTest.java
code_ujb_testgenissue_data_296
// You are a professional Java test case writer, please create a test case named `testInvalidSubClass` for the issue `JacksonCore-502`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonCore-502 // // ## Issue-Title: // Make DefaultPrettyPrinter.createInstan...
src/test/java/com/fasterxml/jackson/core/util/TestDefaultPrettyPrinter.java
code_ujb_testgenissue_data_297
// You are a professional Java test case writer, please create a test case named `testPrintInOperatorInForLoop` for the issue `Closure-1033`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-1033 // // ## Issue-Title: // Generates code with invalid for/in ...
test/com/google/javascript/jscomp/CodePrinterTest.java
code_ujb_testgenissue_data_298
// You are a professional Java test case writer, please create a test case named `testNestedUnwrappedLists180` for the issue `JacksonXml-180`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonXml-180 // // ## Issue-Title: // Problem with deserialization of ...
src/test/java/com/fasterxml/jackson/dataformat/xml/lists/NestedUnwrappedLists180Test.java
code_ujb_testgenissue_data_299
// You are a professional Java test case writer, please create a test case named `test_toBoolean_String` for the issue `Lang-LANG-365`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-365 // // ## Issue-Title: // BooleanUtils.toBoolean() - invalid drop-...
src/test/org/apache/commons/lang/BooleanUtilsTest.java
code_ujb_testgenissue_data_300
// You are a professional Java test case writer, please create a test case named `testIndexOfLang294` for the issue `Lang-LANG-294`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-294 // // ## Issue-Title: // StrBuilder.replaceAll and StrBuilder.delete...
src/test/org/apache/commons/lang/text/StrBuilderTest.java