id
stringlengths
28
30
content
stringlengths
2.68k
886k
max_stars_repo_path
stringlengths
43
98
code_ujb_testgenissue_data_101
// You are a professional Java test case writer, please create a test case named `testFoldGetElem` for the issue `Closure-747`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-747 // // ## Issue-Title: // tryFoldArrayAccess does not check for side effects...
test/com/google/javascript/jscomp/PeepholeFoldConstantsTest.java
code_ujb_testgenissue_data_102
// You are a professional Java test case writer, please create a test case named `testElementDOM` for the issue `JxPath-JXPATH-97`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JxPath-JXPATH-97 // // ## Issue-Title: // Incomplete handling of undefined namespac...
src/test/org/apache/commons/jxpath/ri/model/ExternalXMLNamespaceTest.java
code_ujb_testgenissue_data_103
// You are a professional Java test case writer, please create a test case named `testObject10` for the issue `Closure-724`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-724 // // ## Issue-Title: // closure compiler screws up a perfectly valid isFuncti...
test/com/google/javascript/jscomp/InlineObjectLiteralsTest.java
code_ujb_testgenissue_data_104
// You are a professional Java test case writer, please create a test case named `testUnrecognizedOption2` for the issue `Cli-CLI-164`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-CLI-164 // // ## Issue-Title: // PosixParser ignores unrecognized tokens st...
src/test/org/apache/commons/cli/PosixParserTest.java
code_ujb_testgenissue_data_105
// You are a professional Java test case writer, please create a test case named `test_DateTime_constructor_Moscow_Autumn` for the issue `Time-90`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-90 // // ## Issue-Title: // #90 DateTimeZone.getOffsetFromLoca...
src/test/java/org/joda/time/TestDateTimeZoneCutover.java
code_ujb_testgenissue_data_106
// You are a professional Java test case writer, please create a test case named `testStringJoinAdd` for the issue `Closure-106`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-106 // // ## Issue-Title: // Array Join Munged Incorrectly // // ## Issue-De...
test/com/google/javascript/jscomp/FoldConstantsTest.java
code_ujb_testgenissue_data_107
// You are a professional Java test case writer, please create a test case named `testRenderWrappedTextWordCut` for the issue `Cli-CLI-193`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-CLI-193 // // ## Issue-Title: // StringIndexOutOfBoundsException in He...
src/test/java/org/apache/commons/cli/HelpFormatterTest.java
code_ujb_testgenissue_data_108
// You are a professional Java test case writer, please create a test case named `testShortWithEqual` 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 opt" as "-t arget op...
src/test/org/apache/commons/cli/GnuParserTest.java
code_ujb_testgenissue_data_109
// You are a professional Java test case writer, please create a test case named `testUnicode` for the issue `Closure-416`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-416 // // ## Issue-Title: // Codepoint U+007f appears raw in output // // ## Issue...
test/com/google/javascript/jscomp/CodePrinterTest.java
code_ujb_testgenissue_data_110
// You are a professional Java test case writer, please create a test case named `polynomial` for the issue `Math-MATH-338`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-338 // // ## Issue-Title: // Wrong parameter for first step size guess for Embed...
src/test/java/org/apache/commons/math/ode/nonstiff/AdamsMoultonIntegratorTest.java
code_ujb_testgenissue_data_111
// You are a professional Java test case writer, please create a test case named `testSimpleForIn` for the issue `Closure-773`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-773 // // ## Issue-Title: // Switched order of "delete key" and "key in" statem...
test/com/google/javascript/jscomp/FlowSensitiveInlineVariablesTest.java
code_ujb_testgenissue_data_112
// You are a professional Java test case writer, please create a test case named `typeVariable_of_self_type` for the issue `Mockito-114`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Mockito-114 // // ## Issue-Title: // 1.10 regression (StackOverflowError) wit...
test/org/mockito/internal/util/reflection/GenericMetadataSupportTest.java
code_ujb_testgenissue_data_113
// You are a professional Java test case writer, please create a test case named `testExtremeValues` for the issue `Math-MATH-414`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-414 // // ## Issue-Title: // ConvergenceException in NormalDistributionIm...
src/test/java/org/apache/commons/math/distribution/NormalDistributionTest.java
code_ujb_testgenissue_data_114
// You are a professional Java test case writer, please create a test case named `testLocale` for the issue `JacksonDatabind-1123`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1123 // // ## Issue-Title: // Serializing and Deserializing Locale....
src/test/java/com/fasterxml/jackson/databind/deser/TestJdkTypes.java
code_ujb_testgenissue_data_115
// You are a professional Java test case writer, please create a test case named `testcharSequenceKeyMap` for the issue `JacksonDatabind-1506`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1506 // // ## Issue-Title: // Missing KeyDeserializer f...
src/test/java/com/fasterxml/jackson/databind/deser/TestMapDeserialization.java
code_ujb_testgenissue_data_116
// You are a professional Java test case writer, please create a test case named `testLang457` for the issue `Lang-LANG-457`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-457 // // ## Issue-Title: // NumberUtils createNumber thows a StringIndexOutOfB...
src/test/org/apache/commons/lang/NumberUtilsTest.java
code_ujb_testgenissue_data_117
// You are a professional Java test case writer, please create a test case named `testMinMaxFloat` for the issue `Math-MATH-482`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-482 // // ## Issue-Title: // FastMath.max(50.0f, -50.0f) => -50.0f; should ...
src/test/java/org/apache/commons/math/util/FastMathTest.java
code_ujb_testgenissue_data_118
// You are a professional Java test case writer, please create a test case named `testYahooArticle` for the issue `Jsoup-34`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-34 // // ## Issue-Title: // StringIndexOutOfBoundsException when parsing link http:...
src/test/java/org/jsoup/integration/ParseTest.java
code_ujb_testgenissue_data_119
// You are a professional Java test case writer, please create a test case named `testNegativeZero` for the issue `Gson-1053`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Gson-1053 // // ## Issue-Title: // Negative zero // // ## Issue-Description: // Hi, //...
gson/src/test/java/com/google/gson/stream/JsonReaderTest.java
code_ujb_testgenissue_data_120
// You are a professional Java test case writer, please create a test case named `testTextExtents` for the issue `Closure-919`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-919 // // ## Issue-Title: // Exception when parsing erroneous jsdoc: /**@return...
test/com/google/javascript/jscomp/parsing/JsDocInfoParserTest.java
code_ujb_testgenissue_data_121
// You are a professional Java test case writer, please create a test case named `testMath781` for the issue `Math-MATH-781`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-781 // // ## Issue-Title: // SimplexSolver gives bad results // // ## Issue-De...
src/test/java/org/apache/commons/math3/optimization/linear/SimplexSolverTest.java
code_ujb_testgenissue_data_122
// You are a professional Java test case writer, please create a test case named `shouldReadBigGid` for the issue `Compress-COMPRESS-314`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-314 // // ## Issue-Title: // TarArchiveInputStream rejects...
src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStreamTest.java
code_ujb_testgenissue_data_123
// You are a professional Java test case writer, please create a test case named `testPlusMonths_int_negativeFromLeap` for the issue `Time-151`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-151 // // ## Issue-Title: // #151 Unable to add days to a MonthDa...
src/test/java/org/joda/time/TestMonthDay_Basics.java
code_ujb_testgenissue_data_124
// You are a professional Java test case writer, please create a test case named `testSSENonNegative` for the issue `Math-MATH-85`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-85 // // ## Issue-Title: // [math] SimpleRegression getSumSquaredErrors ...
src/test/org/apache/commons/math/stat/regression/SimpleRegressionTest.java
code_ujb_testgenissue_data_125
// You are a professional Java test case writer, please create a test case named `handlesInvalidAttributeNames` for the issue `Jsoup-721`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-721 // // ## Issue-Title: // INVALID_CHARACTER_ERR when converting Doc...
src/test/java/org/jsoup/helper/W3CDomTest.java
code_ujb_testgenissue_data_126
// You are a professional Java test case writer, please create a test case named `testMath519` for the issue `Math-MATH-519`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-519 // // ## Issue-Title: // GaussianFitter Unexpectedly Throws NotStrictlyPosi...
src/test/java/org/apache/commons/math/optimization/fitting/GaussianFitterTest.java
code_ujb_testgenissue_data_127
// You are a professional Java test case writer, please create a test case named `testFunctionSafariCompatiblity` for the issue `Closure-190`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-190 // // ## Issue-Title: // Bug with labeled loops and breaks /...
test/com/google/javascript/jscomp/CodePrinterTest.java
code_ujb_testgenissue_data_128
// You are a professional Java test case writer, please create a test case named `testIssue780` for the issue `Math-MATH-780`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-780 // // ## Issue-Title: // BSPTree class and recovery of a Euclidean 3D BRep...
src/test/java/org/apache/commons/math3/geometry/euclidean/threed/PolyhedronsSetTest.java
code_ujb_testgenissue_data_129
// You are a professional Java test case writer, please create a test case named `testReduce` for the issue `Lang-LANG-380`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-380 // // ## Issue-Title: // infinite loop in Fraction.reduce when numerator == ...
src/test/org/apache/commons/lang/math/FractionTest.java
code_ujb_testgenissue_data_130
// You are a professional Java test case writer, please create a test case named `testGreatestSubtypeUnionTypes5` for the issue `Closure-114`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-114 // // ## Issue-Title: // Typos in externs/html5.js // // ##...
test/com/google/javascript/rhino/jstype/UnionTypeTest.java
code_ujb_testgenissue_data_131
// You are a professional Java test case writer, please create a test case named `testMixinWithBundles` for the issue `JacksonDatabind-771`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-771 // // ## Issue-Title: // Annotation bundles ignored wh...
src/test/java/com/fasterxml/jackson/databind/mixins/MixinsWithBundlesTest.java
code_ujb_testgenissue_data_132
// You are a professional Java test case writer, please create a test case named `handlesCustomProtocols` for the issue `Jsoup-127`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-127 // // ## Issue-Title: // Cleaning html containing the cid identifier bre...
src/test/java/org/jsoup/safety/CleanerTest.java
code_ujb_testgenissue_data_133
// You are a professional Java test case writer, please create a test case named `testJDKTypes1872` for the issue `JacksonDatabind-1872`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1872 // // ## Issue-Title: // NullPointerException in SubType...
src/test/java/com/fasterxml/jackson/databind/interop/IllegalTypesCheckTest.java
code_ujb_testgenissue_data_134
// You are a professional Java test case writer, please create a test case named `testHeader` for the issue `Csv-CSV-120`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Csv-CSV-120 // // ## Issue-Title: // CSVFormat#withHeader doesn't work with CSVPrinter // /...
src/test/java/org/apache/commons/csv/CSVPrinterTest.java
code_ujb_testgenissue_data_135
// You are a professional Java test case writer, please create a test case named `testEmpty1256` for the issue `JacksonDatabind-1256`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1256 // // ## Issue-Title: // Optional.empty() not excluded if p...
src/test/java/com/fasterxml/jackson/databind/deser/TestJDKAtomicTypes.java
code_ujb_testgenissue_data_136
// You are a professional Java test case writer, please create a test case named `testByteToStringVariations` for the issue `Codec-CODEC-99`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Codec-CODEC-99 // // ## Issue-Title: // Base64.encodeBase64String() shoul...
src/test/org/apache/commons/codec/binary/Base64Test.java
code_ujb_testgenissue_data_137
// You are a professional Java test case writer, please create a test case named `testJavaVersionAsInt` for the issue `Lang-LANG-624`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-624 // // ## Issue-Title: // SystemUtils.getJavaVersionAsFloat throws ...
src/test/java/org/apache/commons/lang3/SystemUtilsTest.java
code_ujb_testgenissue_data_138
// You are a professional Java test case writer, please create a test case named `handlesHeaderEncodingOnRequest` for the issue `Jsoup-1172`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-1172 // // ## Issue-Title: // ArrayIndexOutOfBoundsException when p...
src/test/java/org/jsoup/helper/HttpConnectionTest.java
code_ujb_testgenissue_data_139
// You are a professional Java test case writer, please create a test case named `testRevert` for the issue `Math-MATH-938`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-938 // // ## Issue-Title: // Line.revert() is imprecise // // ## Issue-Descript...
src/test/java/org/apache/commons/math3/geometry/euclidean/threed/LineTest.java
code_ujb_testgenissue_data_140
// You are a professional Java test case writer, please create a test case named `testCheckSymbolsOverrideForQuiet` for the issue `Closure-467`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-467 // // ## Issue-Title: // checkVars / undefinedVars diagnos...
test/com/google/javascript/jscomp/CommandLineRunnerTest.java
code_ujb_testgenissue_data_141
// You are a professional Java test case writer, please create a test case named `testNoThisInference` for the issue `Closure-769`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-769 // // ## Issue-Title: // Type refining of 'this' raises IllegalArgument...
test/com/google/javascript/jscomp/TypeInferenceTest.java
code_ujb_testgenissue_data_142
// You are a professional Java test case writer, please create a test case named `testClassKey` for the issue `JacksonDatabind-682`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-682 // // ## Issue-Title: // Deserializing Map<Class<? extends Obj...
src/test/java/com/fasterxml/jackson/databind/ser/TestMapSerialization.java
code_ujb_testgenissue_data_143
// You are a professional Java test case writer, please create a test case named `testCodec101` for the issue `Codec-CODEC-101`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Codec-CODEC-101 // // ## Issue-Title: // Base64InputStream#read(byte[]) incorrectly re...
src/test/org/apache/commons/codec/binary/Base64InputStreamTest.java
code_ujb_testgenissue_data_144
// You are a professional Java test case writer, please create a test case named `testDynamicRootName` for the issue `JacksonXml-213`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonXml-213 // // ## Issue-Title: // XmlSerializerProvider does not use withR...
src/test/java/com/fasterxml/jackson/dataformat/xml/misc/RootNameTest.java
code_ujb_testgenissue_data_145
// You are a professional Java test case writer, please create a test case named `testNonFiniteDoublesWhenLenient` for the issue `Gson-1090`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Gson-1090 // // ## Issue-Title: // JsonWriter#value(java.lang.Number) can...
gson/src/test/java/com/google/gson/stream/JsonWriterTest.java
code_ujb_testgenissue_data_146
// You are a professional Java test case writer, please create a test case named `testHeaderMissingWithNull` for the issue `Csv-CSV-122`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Csv-CSV-122 // // ## Issue-Title: // NullPointerException when empty header s...
src/test/java/org/apache/commons/csv/CSVParserTest.java
code_ujb_testgenissue_data_147
// You are a professional Java test case writer, please create a test case named `test` for the issue `Cli-CLI-51`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-CLI-51 // // ## Issue-Title: // [cli] Parameter value "-something" misinterpreted as a paramete...
src/test/org/apache/commons/cli/bug/BugCLI51Test.java
code_ujb_testgenissue_data_148
// You are a professional Java test case writer, please create a test case named `shouldThrowAnExceptionOnTruncatedEntries` for the issue `Compress-COMPRESS-279`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-279 // // ## Issue-Title: // TarAr...
src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStreamTest.java
code_ujb_testgenissue_data_149
// You are a professional Java test case writer, please create a test case named `testLang299` for the issue `Lang-LANG-299`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-299 // // ## Issue-Title: // Bug in method appendFixedWidthPadRight of class St...
src/test/org/apache/commons/lang/text/StrBuilderAppendInsertTest.java
code_ujb_testgenissue_data_150
// You are a professional Java test case writer, please create a test case named `littleEndianWithOverflow` for the issue `Compress-COMPRESS-363`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-363 // // ## Issue-Title: // Overflow in BitInputS...
src/test/java/org/apache/commons/compress/utils/BitInputStreamTest.java
code_ujb_testgenissue_data_151
// You are a professional Java test case writer, please create a test case named `testIssue1255` for the issue `JacksonDatabind-1255`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1255 // // ## Issue-Title: // JsonIdentityInfo incorrectly seria...
src/test/java/com/fasterxml/jackson/databind/objectid/AlwaysAsReferenceFirstTest.java
code_ujb_testgenissue_data_152
// You are a professional Java test case writer, please create a test case named `testValidDefine` for the issue `Closure-255`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-255 // // ## Issue-Title: // closure-compiler @define annotation does not allow...
test/com/google/javascript/jscomp/NodeUtilTest.java
code_ujb_testgenissue_data_153
// You are a professional Java test case writer, please create a test case named `testCrossProductCancellation` for the issue `Math-MATH-554`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-554 // // ## Issue-Title: // Vector3D.crossProduct is sensitiv...
src/test/java/org/apache/commons/math/geometry/Vector3DTest.java
code_ujb_testgenissue_data_154
// You are a professional Java test case writer, please create a test case named `testEscapeSurrogatePairs` for the issue `Lang-LANG-857`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-857 // // ## Issue-Title: // StringIndexOutOfBoundsException in Ch...
src/test/java/org/apache/commons/lang3/StringUtilsTest.java
code_ujb_testgenissue_data_155
// You are a professional Java test case writer, please create a test case named `testAtan2SpecialCases` for the issue `Math-MATH-935`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-935 // // ## Issue-Title: // DerivativeStructure.atan2(y,x) does not ...
src/test/java/org/apache/commons/math3/analysis/differentiation/DerivativeStructureTest.java
code_ujb_testgenissue_data_156
// You are a professional Java test case writer, please create a test case named `testEndMb` for the issue `Codec-CODEC-117`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Codec-CODEC-117 // // ## Issue-Title: // Caverphone encodes names starting and ending wit...
src/test/org/apache/commons/codec/language/CaverphoneTest.java
code_ujb_testgenissue_data_157
// You are a professional Java test case writer, please create a test case named `testWithEmptyStringAsNullObject1533` for the issue `JacksonDatabind-1533`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1533 // // ## Issue-Title: // AsPropertyTy...
src/test/java/com/fasterxml/jackson/databind/jsontype/TestPolymorphicWithDefaultImpl.java
code_ujb_testgenissue_data_158
// You are a professional Java test case writer, please create a test case named `testGlobalCatch` for the issue `Closure-1070`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-1070 // // ## Issue-Title: // catch(e) yields JSC_UNDEFINED_NAME warning when ...
test/com/google/javascript/jscomp/CheckGlobalNamesTest.java
code_ujb_testgenissue_data_159
// You are a professional Java test case writer, please create a test case named `testGoogIsArray2` for the issue `Closure-1114`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-1114 // // ## Issue-Title: // goog.isArray doesn't hint compiler // // ## Is...
test/com/google/javascript/jscomp/ClosureReverseAbstractInterpreterTest.java
code_ujb_testgenissue_data_160
// You are a professional Java test case writer, please create a test case named `testUnionOfVariableAndNode` for the issue `JxPath-JXPATH-89`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JxPath-JXPATH-89 // // ## Issue-Title: // Cannot compare pointers that ...
src/test/org/apache/commons/jxpath/ri/compiler/VariableTest.java
code_ujb_testgenissue_data_161
// You are a professional Java test case writer, please create a test case named `testBinaryAsEmbeddedObject` for the issue `JacksonCore-318`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonCore-318 // // ## Issue-Title: // Add support for writing byte[] ...
src/test/java/com/fasterxml/jackson/core/base64/Base64GenerationTest.java
code_ujb_testgenissue_data_162
// You are a professional Java test case writer, please create a test case named `testAvailableLocaleSet` for the issue `Lang-LANG-304`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-304 // // ## Issue-Title: // NullPointerException in isAvailableLoca...
src/test/org/apache/commons/lang/LocaleUtilsTest.java
code_ujb_testgenissue_data_163
// You are a professional Java test case writer, please create a test case named `testForEach` for the issue `Closure-644`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-644 // // ## Issue-Title: // Simple "Whitespace only" compression removing "each" k...
test/com/google/javascript/jscomp/parsing/ParserTest.java
code_ujb_testgenissue_data_164
// You are a professional Java test case writer, please create a test case named `testIZeroIndex` for the issue `JacksonCore-176`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonCore-176 // // ## Issue-Title: // JsonPointer should not consider "00" to be ...
src/test/java/com/fasterxml/jackson/core/TestJsonPointer.java
code_ujb_testgenissue_data_165
// You are a professional Java test case writer, please create a test case named `testInnerEmptyNamespaceDOM` for the issue `JxPath-JXPATH-154`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JxPath-JXPATH-154 // // ## Issue-Title: // Resetting the default names...
src/test/org/apache/commons/jxpath/ri/model/JXPath154Test.java
code_ujb_testgenissue_data_166
// You are a professional Java test case writer, please create a test case named `testNoPrivateAccessForProperties6` for the issue `Closure-254`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-254 // // ## Issue-Title: // no warnings when @private prop i...
test/com/google/javascript/jscomp/CheckAccessControlsTest.java
code_ujb_testgenissue_data_167
// You are a professional Java test case writer, please create a test case named `testSimpleModeLeavesUnusedParams` for the issue `Closure-253`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-253 // // ## Issue-Title: // function arguments should not be ...
test/com/google/javascript/jscomp/CommandLineRunnerTest.java
code_ujb_testgenissue_data_168
// You are a professional Java test case writer, please create a test case named `testBug2495455` for the issue `Time-64`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-64 // // ## Issue-Title: // #64 Different behaviour of PeriodFormatter // // // // ...
src/test/java/org/joda/time/format/TestPeriodFormatterBuilder.java
code_ujb_testgenissue_data_169
// You are a professional Java test case writer, please create a test case named `testGoogIsFunction2` for the issue `Closure-841`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-841 // // ## Issue-Title: // Bad type inference with goog.isFunction and fr...
test/com/google/javascript/jscomp/ClosureReverseAbstractInterpreterTest.java
code_ujb_testgenissue_data_170
// You are a professional Java test case writer, please create a test case named `testIssue291` for the issue `Closure-291`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-291 // // ## Issue-Title: // IE8 error: Object doesn't support this action // // ...
test/com/google/javascript/jscomp/PeepholeSubstituteAlternateSyntaxTest.java
code_ujb_testgenissue_data_171
// You are a professional Java test case writer, please create a test case named `testIssue937` for the issue `Closure-937`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-937 // // ## Issue-Title: // Casting a function before calling it produces bad cod...
test/com/google/javascript/jscomp/IntegrationTest.java
code_ujb_testgenissue_data_172
// You are a professional Java test case writer, please create a test case named `testHWRuleEx1` for the issue `Codec-CODEC-199`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Codec-CODEC-199 // // ## Issue-Title: // Bug in HW rule in Soundex // // ## Issue-De...
src/test/java/org/apache/commons/codec/language/SoundexTest.java
code_ujb_testgenissue_data_173
// You are a professional Java test case writer, please create a test case named `testMapValueEquality` for the issue `JxPath-JXPATH-151`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JxPath-JXPATH-151 // // ## Issue-Title: // null handling is inconsistent // ...
src/test/org/apache/commons/jxpath/ri/model/JXPath151Test.java
code_ujb_testgenissue_data_174
// You are a professional Java test case writer, please create a test case named `shouldKnowIfObjectsAreEqual` for the issue `Mockito-484`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Mockito-484 // // ## Issue-Title: // Can not Return deep stubs from generic...
test/org/mockito/internal/matchers/EqualityTest.java
code_ujb_testgenissue_data_175
// You are a professional Java test case writer, please create a test case named `pure_mockito_should_not_depend_JUnit` for the issue `Mockito-152`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Mockito-152 // // ## Issue-Title: // Mockito 1.10.x timeout verifi...
test/org/mockitointegration/NoJUnitDependenciesTest.java
code_ujb_testgenissue_data_176
// You are a professional Java test case writer, please create a test case named `testSafeMultiplyLongInt` for the issue `Time-147`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-147 // // ## Issue-Title: // #147 possibly a bug in org.joda.time.field.Field...
src/test/java/org/joda/time/field/TestFieldUtils.java
code_ujb_testgenissue_data_177
// You are a professional Java test case writer, please create a test case named `testParseInto_monthOnly_baseStartYear` for the issue `Time-148`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-148 // // ## Issue-Title: // #148 DateTimeFormatter.parseInto b...
src/test/java/org/joda/time/format/TestDateTimeFormatter.java
code_ujb_testgenissue_data_178
// You are a professional Java test case writer, please create a test case named `testCOMPRESS178` for the issue `Compress-COMPRESS-301`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-301 // // ## Issue-Title: // Illegal argument exception whe...
src/test/java/org/apache/commons/compress/archivers/TarTestCase.java
code_ujb_testgenissue_data_179
// You are a professional Java test case writer, please create a test case named `testListAllFilesWithNestedArchive` for the issue `Compress-COMPRESS-367`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-367 // // ## Issue-Title: // ZipArchiveIn...
src/test/java/org/apache/commons/compress/archivers/ZipTestCase.java
code_ujb_testgenissue_data_180
// You are a professional Java test case writer, please create a test case named `testMissingOptionsException` for the issue `Cli-CLI-149`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Cli-CLI-149 // // ## Issue-Title: // MissingOptionException.getMessage() ch...
src/test/org/apache/commons/cli/OptionsTest.java
code_ujb_testgenissue_data_181
// You are a professional Java test case writer, please create a test case named `aiffFilesAreNoTARs` for the issue `Compress-COMPRESS-191`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-191 // // ## Issue-Title: // Too relaxed tar detection i...
src/test/java/org/apache/commons/compress/archivers/ArchiveStreamFactoryTest.java
code_ujb_testgenissue_data_182
// You are a professional Java test case writer, please create a test case named `testMath274` for the issue `Math-MATH-274`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-274 // // ## Issue-Title: // testing for symmetric positive definite matrix in ...
src/test/org/apache/commons/math/linear/CholeskyDecompositionImplTest.java
code_ujb_testgenissue_data_183
// You are a professional Java test case writer, please create a test case named `should_spy_inner_class` for the issue `Mockito-92`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Mockito-92 // // ## Issue-Title: // Allow convenient spying on abstract classes /...
test/org/mockitousage/annotation/SpyAnnotationTest.java
code_ujb_testgenissue_data_184
// You are a professional Java test case writer, please create a test case named `testLang300` for the issue `Lang-LANG-300`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-300 // // ## Issue-Title: // NumberUtils.createNumber throws NumberFormatExcept...
src/test/org/apache/commons/lang/math/NumberUtilsTest.java
code_ujb_testgenissue_data_185
// You are a professional Java test case writer, please create a test case named `testCompress197` for the issue `Compress-COMPRESS-197`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-197 // // ## Issue-Title: // Tar file for Android backup ca...
src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStreamTest.java
code_ujb_testgenissue_data_186
// You are a professional Java test case writer, please create a test case named `testLang315` for the issue `Lang-LANG-315`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Lang-LANG-315 // // ## Issue-Title: // StopWatch: suspend() acts as split(), if followed ...
src/test/org/apache/commons/lang/time/StopWatchTest.java
code_ujb_testgenissue_data_187
// You are a professional Java test case writer, please create a test case named `testRead7ZipMultiVolumeArchiveForStream` for the issue `Compress-COMPRESS-87`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-87 // // ## Issue-Title: // ZipArchi...
src/test/java/org/apache/commons/compress/archivers/zip/Maven221MultiVolumeTest.java
code_ujb_testgenissue_data_188
// You are a professional Java test case writer, please create a test case named `testISO8601MissingSeconds` for the issue `JacksonDatabind-570`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-570 // // ## Issue-Title: // Add Support for Parsing ...
src/test/java/com/fasterxml/jackson/databind/deser/TestDateDeserialization.java
code_ujb_testgenissue_data_189
// You are a professional Java test case writer, please create a test case named `testReciprocalZero` for the issue `Math-MATH-934`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-934 // // ## Issue-Title: // Complex.ZERO.reciprocal() returns NaN but s...
src/test/java/org/apache/commons/math3/complex/ComplexTest.java
code_ujb_testgenissue_data_190
// You are a professional Java test case writer, please create a test case named `testExternalIssue1053` for the issue `Closure-1053`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-1053 // // ## Issue-Title: // Overzealous optimization confuses variable...
test/com/google/javascript/jscomp/InlineVariablesTest.java
code_ujb_testgenissue_data_191
// You are a professional Java test case writer, please create a test case named `testLeapYearRulesConstruction` for the issue `Time-130`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Time-130 // // ## Issue-Title: // #130 GJChronology rejects valid Julian dat...
src/test/java/org/joda/time/chrono/TestGJChronology.java
code_ujb_testgenissue_data_192
// You are a professional Java test case writer, please create a test case named `testMath835` for the issue `Math-MATH-835`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-835 // // ## Issue-Title: // Fraction percentageValue rare overflow // // ## I...
src/test/java/org/apache/commons/math3/fraction/FractionTest.java
code_ujb_testgenissue_data_193
// You are a professional Java test case writer, please create a test case named `testSimpleFunctionCall` for the issue `Closure-759`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Closure-759 // // ## Issue-Title: // String conversion optimization is incorrect...
test/com/google/javascript/jscomp/PeepholeSubstituteAlternateSyntaxTest.java
code_ujb_testgenissue_data_194
// You are a professional Java test case writer, please create a test case named `testDateDefaultShape` for the issue `JacksonDatabind-1155`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1155 // // ## Issue-Title: // Fix for #1154 // // ## Iss...
src/test/java/com/fasterxml/jackson/databind/ser/DateSerializationTest.java
code_ujb_testgenissue_data_195
// You are a professional Java test case writer, please create a test case named `testParseProperInvalidMinus` for the issue `Math-MATH-60`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-60 // // ## Issue-Title: // [math] Function math.fraction.Proper...
src/test/org/apache/commons/math/fraction/FractionFormatTest.java
code_ujb_testgenissue_data_196
// You are a professional Java test case writer, please create a test case named `handlesLTinScript` for the issue `Jsoup-1139`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Jsoup-1139 // // ## Issue-Title: // Jsoup 1.11.3: IndexOutOfBoundsException // // ## ...
src/test/java/org/jsoup/parser/XmlTreeBuilderTest.java
code_ujb_testgenissue_data_197
// You are a professional Java test case writer, please create a test case named `testUnknownTypeIDRecovery` for the issue `JacksonDatabind-1108`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: JacksonDatabind-1108 // // ## Issue-Title: // Jackson not continue t...
src/test/java/com/fasterxml/jackson/databind/jsontype/TestPolymorphicWithDefaultImpl.java
code_ujb_testgenissue_data_198
// You are a professional Java test case writer, please create a test case named `testPerformClusterAnalysisDegenerate` for the issue `Math-MATH-305`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Math-MATH-305 // // ## Issue-Title: // NPE in KMeansPlusPlusClu...
src/test/java/org/apache/commons/math/stat/clustering/KMeansPlusPlusClustererTest.java
code_ujb_testgenissue_data_199
// You are a professional Java test case writer, please create a test case named `testReadWinZipArchive` for the issue `Compress-COMPRESS-164`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-164 // // ## Issue-Title: // Cannot Read Winzip Archi...
src/test/java/org/apache/commons/compress/archivers/zip/UTF8ZipFilesTest.java
code_ujb_testgenissue_data_200
// You are a professional Java test case writer, please create a test case named `testClassInstantiationWithParameterBeingNullThrowsNullPointerExceptionOne` for the issue `Compress-COMPRESS-412`, utilizing the provided issue report information and the following function signature. // ## Issue-ID: Compress-COMPRESS-412...
src/test/java/org/apache/commons/compress/utils/ChecksumCalculatingInputStreamTest.java