Dataset Viewer
Auto-converted to Parquet Duplicate
test_class_signature
stringlengths
21
105
function
stringlengths
268
12.2k
prompt_complete_with_comment
stringlengths
1.66k
9.91k
location
stringlengths
46
115
be_test_import_context
stringlengths
44
2.77k
be_test_class_function_signature_context
stringlengths
60
22.9k
end
int64
44
7.03k
function_name
stringlengths
8
51
prompt_chat_with_comment
stringlengths
1.56k
9.41k
start
int64
28
7.02k
prompt_complete
stringlengths
1.75k
10.3k
comment
stringlengths
128
2.81k
bug_id
int64
1
112
be_test_class_long_name
stringlengths
24
92
source_dir
stringclasses
4 values
prompt_chat
stringlengths
1.66k
9.83k
be_test_class_signature
stringlengths
17
234
test_import_context
stringlengths
39
2.03k
test_class_function_signature_context
stringlengths
169
69.8k
task_id
stringlengths
64
64
testmethods
sequence
be_test_class_field_context
stringlengths
0
8.55k
function_signature
stringlengths
23
151
test_class_field_context
stringlengths
0
4.05k
project
stringclasses
12 values
source
stringlengths
3.4k
445k
indent
stringclasses
2 values
classmethods
list
public class Base64Test
@Test public void testDecodeWithInnerPad() { final String content = "SGVsbG8gV29ybGQ=SGVsbG8gV29ybGQ="; final byte[] result = Base64.decodeBase64(content); final byte[] shouldBe = StringUtils.getBytesUtf8("Hello World"); assertTrue("decode should halt at pad (=)", Arrays.equals(r...
// public Base64(final int lineLength, final byte[] lineSeparator, final boolean urlSafe); // public boolean isUrlSafe(); // @Override // void encode(final byte[] in, int inPos, final int inAvail, final Context context); // @Override // void decode(final byte[] in, int inPos, final int inAvail, ...
src/test/java/org/apache/commons/codec/binary/Base64Test.java
package org.apache.commons.codec.binary; import java.math.BigInteger;
public Base64(); public Base64(final boolean urlSafe); public Base64(final int lineLength); public Base64(final int lineLength, final byte[] lineSeparator); public Base64(final int lineLength, final byte[] lineSeparator, final boolean urlSafe); public boolean isUrlSafe(); @Override void ...
156
testDecodeWithInnerPad
```java public Base64(final int lineLength, final byte[] lineSeparator, final boolean urlSafe); public boolean isUrlSafe(); @Override void encode(final byte[] in, int inPos, final int inAvail, final Context context); @Override void decode(final byte[] in, int inPos, final int inAvail, final Cont...
150
// public Base64(final int lineLength, final byte[] lineSeparator, final boolean urlSafe); // public boolean isUrlSafe(); // @Override // void encode(final byte[] in, int inPos, final int inAvail, final Context context); // @Override // void decode(final byte[] in, int inPos, final int inAvail, ...
/** * Test our decode with pad character in the middle. (Our current * implementation: halt decode and return what we've got so far). * * The point of this test is not to say * "this is the correct way to decode base64." The point is simply to keep * us aware of the current logic since...
18
org.apache.commons.codec.binary.Base64
src/test/java
```java public Base64(final int lineLength, final byte[] lineSeparator, final boolean urlSafe); public boolean isUrlSafe(); @Override void encode(final byte[] in, int inPos, final int inAvail, final Context context); @Override void decode(final byte[] in, int inPos, final int inAvail, final Cont...
public class Base64 extends BaseNCodec
package org.apache.commons.codec.binary; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.math.BigInteger; import java.nio.charset.Charset; i...
public Random getRandom(); @Test public void testIsStringBase64(); @Test public void testBase64(); @Test public void testBase64AtBufferStart(); @Test public void testBase64AtBufferEnd(); @Test public void testBase64AtBufferMiddle(); private void testBase64InBuffer(int sta...
0b0ae06d5d6d2ef79e2adc1c4cd60655cf9a3f9ac634e45f30d1c1c6faff2c22
[ "org.apache.commons.codec.binary.Base64Test::testDecodeWithInnerPad" ]
private static final int BITS_PER_ENCODED_BYTE = 6; private static final int BYTES_PER_UNENCODED_BLOCK = 3; private static final int BYTES_PER_ENCODED_BLOCK = 4; static final byte[] CHUNK_SEPARATOR = {'\r', '\n'}; private static final byte[] STANDARD_ENCODE_TABLE = { 'A', 'B', 'C', 'D', ...
@Test public void testDecodeWithInnerPad()
private static final Charset CHARSET_UTF8 = Charsets.UTF_8; private final Random random = new Random();
Codec
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
[ { "be_test_class_file": "org/apache/commons/codec/binary/Base64.java", "be_test_class_name": "org.apache.commons.codec.binary.Base64", "be_test_function_name": "decode", "be_test_function_signature": "([BIILorg/apache/commons/codec/binary/BaseNCodec$Context;)V", "line_numbers": [ "431", ...
public class QuarterTests extends TestCase
public void testDateConstructor1() { TimeZone zone = TimeZone.getTimeZone("GMT"); Calendar c = new GregorianCalendar(zone); Quarter q1 = new Quarter(new Date(1017619199999L), zone, Locale.getDefault()); Quarter q2 = new Quarter(new Date(1017619200000L), zone, L...
// // Abstract Java Tested Class // package org.jfree.data.time; // // import java.io.Serializable; // import java.util.Calendar; // import java.util.Date; // import java.util.Locale; // import java.util.TimeZone; // // // // public class Quarter extends RegularTimePeriod implements Serializable { // private s...
tests/org/jfree/data/time/junit/QuarterTests.java
package org.jfree.data.time; import java.io.Serializable; import java.util.Calendar; import java.util.Date; import java.util.Locale; import java.util.TimeZone;
public Quarter(); public Quarter(int quarter, int year); public Quarter(int quarter, Year year); public Quarter(Date time); public Quarter(Date time, TimeZone zone); public Quarter(Date time, TimeZone zone, Locale locale); public int getQuarter(); public Year getYear(); public int ge...
150
testDateConstructor1
```java // Abstract Java Tested Class package org.jfree.data.time; import java.io.Serializable; import java.util.Calendar; import java.util.Date; import java.util.Locale; import java.util.TimeZone; public class Quarter extends RegularTimePeriod implements Serializable { private static final long serialVersionU...
135
// // Abstract Java Tested Class // package org.jfree.data.time; // // import java.io.Serializable; // import java.util.Calendar; // import java.util.Date; // import java.util.Locale; // import java.util.TimeZone; // // // // public class Quarter extends RegularTimePeriod implements Serializable { // private s...
/** * In GMT, the end of Q1 2002 is java.util.Date(1017619199999L). Use this * to check the quarter constructor. */
1
org.jfree.data.time.Quarter
tests
```java // Abstract Java Tested Class package org.jfree.data.time; import java.io.Serializable; import java.util.Calendar; import java.util.Date; import java.util.Locale; import java.util.TimeZone; public class Quarter extends RegularTimePeriod implements Serializable { private static final long serialVersionU...
public class Quarter extends RegularTimePeriod implements Serializable
package org.jfree.data.time.junit; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.ObjectInput; import java.io.ObjectInputStream; import java.io.ObjectOutput; import java.io.ObjectOutputStream; import java.util.Calendar; import java.util.Date; import java.util.GregorianCalenda...
public static Test suite(); public QuarterTests(String name); protected void setUp(); public void testEqualsSelf(); public void testEquals(); public void testDateConstructor1(); public void testDateConstructor2(); public void testQ1Y1900Previous(); public void testQ1Y1900Next(); ...
0ba02ff7fd0493e77215bb8e0fc7275134751165c747cc7762e387d2e1b0e719
[ "org.jfree.data.time.junit.QuarterTests::testDateConstructor1" ]
private static final long serialVersionUID = 3810061714380888671L; public static final int FIRST_QUARTER = 1; public static final int LAST_QUARTER = 4; public static final int[] FIRST_MONTH_IN_QUARTER = { 0, MonthConstants.JANUARY, MonthConstants.APRIL, MonthConstants.JULY, MonthConstant...
public void testDateConstructor1()
private Quarter q1Y1900; private Quarter q2Y1900; private Quarter q3Y9999; private Quarter q4Y9999;
Chart
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2009, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreechart/in...
[ { "be_test_class_file": "org/jfree/data/time/Quarter.java", "be_test_class_name": "org.jfree.data.time.Quarter", "be_test_function_name": "getFirstMillisecond", "be_test_function_signature": "(Ljava/util/Calendar;)J", "line_numbers": [ "421", "422", "423", "426" ], ...
public class TimePeriodValuesCollectionTests extends TestCase
" public void testGetDomainBoundsWithInterval() {\n // check empty dataset\n TimePe(...TRUNCATED)
"// // Abstract Java Tested Class\n// package org.jfree.data.time;\n// \n// import java.io.Serializa(...TRUNCATED)
tests/org/jfree/data/time/junit/TimePeriodValuesCollectionTests.java
"package org.jfree.data.time;\n\nimport java.io.Serializable;\nimport java.util.Iterator;\nimport ja(...TRUNCATED)
" public TimePeriodValuesCollection();\n public TimePeriodValuesCollection(TimePeriodValues se(...TRUNCATED)
252
testGetDomainBoundsWithInterval
"```java\n// Abstract Java Tested Class\npackage org.jfree.data.time;\n\nimport java.io.Serializable(...TRUNCATED)
221
"// // Abstract Java Tested Class\n// package org.jfree.data.time;\n// \n// import java.io.Serializa(...TRUNCATED)
" /**\n * Some more checks for the getDomainBounds() method.\n * \n * @see #testGetDo(...TRUNCATED)
1
org.jfree.data.time.TimePeriodValuesCollection
tests
"```java\n// Abstract Java Tested Class\npackage org.jfree.data.time;\n\nimport java.io.Serializable(...TRUNCATED)
"public class TimePeriodValuesCollection extends AbstractIntervalXYDataset\n implements Inter(...TRUNCATED)
"package org.jfree.data.time.junit;\n\nimport java.io.ByteArrayInputStream;\nimport java.io.ByteArra(...TRUNCATED)
" public static Test suite();\n public TimePeriodValuesCollectionTests(String name);\n prot(...TRUNCATED)
0bcba3f18197f9fb514670eac8301174c25863bf6adafed26dc96ad0936cda1c
[ "org.jfree.data.time.junit.TimePeriodValuesCollectionTests::testGetDomainBoundsWithInterval" ]
" private static final long serialVersionUID = -3077934065236454199L;\n private List data;\n (...TRUNCATED)
public void testGetDomainBoundsWithInterval()
private static final double EPSILON = 0.0000000001;
Chart
"/* ===========================================================\n * JFreeChart : a free chart librar(...TRUNCATED)
[{"be_test_class_file":"org/jfree/data/time/TimePeriodValuesCollection.java","be_test_class_name":"o(...TRUNCATED)
public class TestJavaType extends BaseMapTest
" public void testLocalType728() throws Exception\n {\n TypeFactory tf = TypeFactory.de(...TRUNCATED)
"// // Abstract Java Tested Class\n// package com.fasterxml.jackson.databind;\n// \n// import java.l(...TRUNCATED)
src/test/java/com/fasterxml/jackson/databind/type/TestJavaType.java
"package com.fasterxml.jackson.databind;\n\nimport java.lang.reflect.Modifier;\nimport java.util.Lis(...TRUNCATED)
" protected JavaType(Class<?> raw, int additionalHash,\n Object valueHandler, Object t(...TRUNCATED)
66
testLocalType728
"```java\n// Abstract Java Tested Class\npackage com.fasterxml.jackson.databind;\n\nimport java.lang(...TRUNCATED)
47
"// // Abstract Java Tested Class\n// package com.fasterxml.jackson.databind;\n// \n// import java.l(...TRUNCATED)
" /*\n /**********************************************************\n /* Test methods\n /(...TRUNCATED)
112
com.fasterxml.jackson.databind.JavaType
src/test/java
"```java\n// Abstract Java Tested Class\npackage com.fasterxml.jackson.databind;\n\nimport java.lang(...TRUNCATED)
"public abstract class JavaType\n extends ResolvedType\n implements java.io.Serializable, // 2(...TRUNCATED)
"package com.fasterxml.jackson.databind.type;\n\nimport java.lang.reflect.Method;\nimport java.util.(...TRUNCATED)
" public void testLocalType728() throws Exception;\n public void testSimpleClass();\n @Supp(...TRUNCATED)
0d676cbccbd37177e90a562c831ea69a6dead74601d4b96dc0ab27c91142eafa
[ "com.fasterxml.jackson.databind.type.TestJavaType::testLocalType728" ]
" private static final long serialVersionUID = 1;\n protected final Class<?> _class;\n prot(...TRUNCATED)
public void testLocalType728() throws Exception
JacksonDatabind
"package com.fasterxml.jackson.databind.type;\n\nimport java.lang.reflect.Method;\nimport java.util.(...TRUNCATED)
[{"be_test_class_file":"com/fasterxml/jackson/databind/JavaType.java","be_test_class_name":"com.fast(...TRUNCATED)
public class TestTypeFactory extends BaseMapTest
" public void testCollections()\n {\n // Ok, first: let's test what happens when we pas(...TRUNCATED)
"// private String _resolveTypePlaceholders(JavaType sourceType, JavaType actualType)\n// (...TRUNCATED)
src/test/java/com/fasterxml/jackson/databind/type/TestTypeFactory.java
"package com.fasterxml.jackson.databind.type;\n\nimport java.util.*;\nimport java.util.concurrent.at(...TRUNCATED)
" private TypeFactory();\n protected TypeFactory(LRUMap<Object,JavaType> typeCache);\n prot(...TRUNCATED)
299
testCollections
"```java\n private String _resolveTypePlaceholders(JavaType sourceType, JavaType actualType)\n (...TRUNCATED)
277
"// private String _resolveTypePlaceholders(JavaType sourceType, JavaType actualType)\n// (...TRUNCATED)
" /*\n /**********************************************************\n /* Unit tests: collect(...TRUNCATED)
112
com.fasterxml.jackson.databind.type.TypeFactory
src/test/java
"```java\n private String _resolveTypePlaceholders(JavaType sourceType, JavaType actualType)\n (...TRUNCATED)
"@SuppressWarnings({\"rawtypes\" })\npublic final class TypeFactory\n implements java.io.Serializ(...TRUNCATED)
"package com.fasterxml.jackson.databind.type;\n\nimport java.lang.reflect.Field;\nimport java.util.*(...TRUNCATED)
" public void testSimpleTypes();\n public void testArrays();\n public void testProperties()(...TRUNCATED)
0e619b558937c405b63e04fd631da036fb5cd8d44a8650a8c38261b2582b00c5
[ "com.fasterxml.jackson.databind.type.TestTypeFactory::testCollections" ]
" private static final long serialVersionUID = 1L;\n private final static JavaType[] NO_TYPES (...TRUNCATED)
public void testCollections()
JacksonDatabind
"package com.fasterxml.jackson.databind.type;\n\nimport java.lang.reflect.Field;\nimport java.util.*(...TRUNCATED)
[{"be_test_class_file":"com/fasterxml/jackson/databind/type/TypeFactory.java","be_test_class_name":"(...TRUNCATED)
"public class ChartPanelTests extends TestCase\n implements ChartChangeListener, ChartMouseLi(...TRUNCATED)
" public void test2502355_zoomInRange() {\n DefaultXYDataset dataset = new DefaultXYDatase(...TRUNCATED)
"// public int getZoomTriggerDistance();\n// public void setZoomTriggerDistance(int distance(...TRUNCATED)
tests/org/jfree/chart/junit/ChartPanelTests.java
"package org.jfree.chart;\n\nimport java.awt.AWTEvent;\nimport java.awt.AlphaComposite;\nimport java(...TRUNCATED)
" public ChartPanel(JFreeChart chart);\n public ChartPanel(JFreeChart chart, boolean useBuffer(...TRUNCATED)
266
test2502355_zoomInRange
"```java\n public int getZoomTriggerDistance();\n public void setZoomTriggerDistance(int dista(...TRUNCATED)
255
"// public int getZoomTriggerDistance();\n// public void setZoomTriggerDistance(int distance(...TRUNCATED)
" /**\n * Checks that a call to the zoomInRange() method, for a plot with more\n * than o(...TRUNCATED)
1
org.jfree.chart.ChartPanel
tests
"```java\n public int getZoomTriggerDistance();\n public void setZoomTriggerDistance(int dista(...TRUNCATED)
"public class ChartPanel extends JPanel implements ChartChangeListener,\n ChartProgressListen(...TRUNCATED)
"package org.jfree.chart.junit;\n\nimport java.awt.geom.Rectangle2D;\nimport java.util.EventListener(...TRUNCATED)
" public void chartChanged(ChartChangeEvent event);\n public static Test suite();\n public (...TRUNCATED)
11b55f009809888b81eff828ca5211becfbc7b51c16f6aae6bdaa569fae9d1f3
[ "org.jfree.chart.junit.ChartPanelTests::test2502355_zoomInRange" ]
" private static final long serialVersionUID = 6046366297214274674L;\n public static final boo(...TRUNCATED)
public void test2502355_zoomInRange()
private List chartChangeEvents = new java.util.ArrayList();
Chart
"/* ===========================================================\n * JFreeChart : a free chart librar(...TRUNCATED)
[{"be_test_class_file":"org/jfree/chart/ChartPanel.java","be_test_class_name":"org.jfree.chart.Chart(...TRUNCATED)
public class YIntervalSeriesCollectionTests extends TestCase
" public void test1170825() {\n YIntervalSeries s1 = new YIntervalSeries(\"Series1\");\n (...TRUNCATED)
"// // Abstract Java Tested Class\n// package org.jfree.data.xy;\n// \n// import java.io.Serializabl(...TRUNCATED)
tests/org/jfree/data/xy/junit/YIntervalSeriesCollectionTests.java
"package org.jfree.data.xy;\n\nimport java.io.Serializable;\nimport java.util.List;\nimport org.jfre(...TRUNCATED)
" public YIntervalSeriesCollection();\n public void addSeries(YIntervalSeries series);\n pu(...TRUNCATED)
212
test1170825
"```java\n// Abstract Java Tested Class\npackage org.jfree.data.xy;\n\nimport java.io.Serializable;\(...TRUNCATED)
199
"// // Abstract Java Tested Class\n// package org.jfree.data.xy;\n// \n// import java.io.Serializabl(...TRUNCATED)
" /**\n * A test for bug report 1170825 (originally affected XYSeriesCollection,\n * this(...TRUNCATED)
1
org.jfree.data.xy.YIntervalSeriesCollection
tests
"```java\n// Abstract Java Tested Class\npackage org.jfree.data.xy;\n\nimport java.io.Serializable;\(...TRUNCATED)
"public class YIntervalSeriesCollection extends AbstractIntervalXYDataset\n implements Interv(...TRUNCATED)
"package org.jfree.data.xy.junit;\n\nimport java.io.ByteArrayInputStream;\nimport java.io.ByteArrayO(...TRUNCATED)
" public static Test suite();\n public YIntervalSeriesCollectionTests(String name);\n publi(...TRUNCATED)
11f55f2a23b466fce112f6edd9f5e153e0c77a813e297e5bc5a1566da3f6f57e
[ "org.jfree.data.xy.junit.YIntervalSeriesCollectionTests::test1170825" ]
private List data;
public void test1170825()
Chart
"/* ===========================================================\n * JFreeChart : a free chart librar(...TRUNCATED)
[{"be_test_class_file":"org/jfree/data/xy/YIntervalSeriesCollection.java","be_test_class_name":"org.(...TRUNCATED)
"public class ChartPanelTests extends TestCase\n implements ChartChangeListener, ChartMouseLi(...TRUNCATED)
" public void test2502355_restoreAutoDomainBounds() {\n DefaultXYDataset dataset = new Def(...TRUNCATED)
"// public int getZoomTriggerDistance();\n// public void setZoomTriggerDistance(int distance(...TRUNCATED)
tests/org/jfree/chart/junit/ChartPanelTests.java
"package org.jfree.chart;\n\nimport java.awt.AWTEvent;\nimport java.awt.AlphaComposite;\nimport java(...TRUNCATED)
" public ChartPanel(JFreeChart chart);\n public ChartPanel(JFreeChart chart, boolean useBuffer(...TRUNCATED)
317
test2502355_restoreAutoDomainBounds
"```java\n public int getZoomTriggerDistance();\n public void setZoomTriggerDistance(int dista(...TRUNCATED)
306
"// public int getZoomTriggerDistance();\n// public void setZoomTriggerDistance(int distance(...TRUNCATED)
" /**\n * Checks that a call to the restoreAutoDomainBounds() method, for a plot\n * with(...TRUNCATED)
1
org.jfree.chart.ChartPanel
tests
"```java\n public int getZoomTriggerDistance();\n public void setZoomTriggerDistance(int dista(...TRUNCATED)
"public class ChartPanel extends JPanel implements ChartChangeListener,\n ChartProgressListen(...TRUNCATED)
"package org.jfree.chart.junit;\n\nimport java.awt.geom.Rectangle2D;\nimport java.util.EventListener(...TRUNCATED)
" public void chartChanged(ChartChangeEvent event);\n public static Test suite();\n public (...TRUNCATED)
120d4c313dabe9b92188839845983799ef35cdb6332a5452875330a3a399de04
[ "org.jfree.chart.junit.ChartPanelTests::test2502355_restoreAutoDomainBounds" ]
" private static final long serialVersionUID = 6046366297214274674L;\n public static final boo(...TRUNCATED)
public void test2502355_restoreAutoDomainBounds()
private List chartChangeEvents = new java.util.ArrayList();
Chart
"/* ===========================================================\n * JFreeChart : a free chart librar(...TRUNCATED)
[{"be_test_class_file":"org/jfree/chart/ChartPanel.java","be_test_class_name":"org.jfree.chart.Chart(...TRUNCATED)
public class FixedOrderComparatorTest extends AbstractComparatorTest<String>
" @Test\n public void testConstructorPlusAdd() {\n final FixedOrderComparator<String> c(...TRUNCATED)
"// // Abstract Java Tested Class\n// package org.apache.commons.collections4.comparators;\n// \n// (...TRUNCATED)
src/test/java/org/apache/commons/collections4/comparators/FixedOrderComparatorTest.java
"package org.apache.commons.collections4.comparators;\n\nimport java.io.Serializable;\nimport java.u(...TRUNCATED)
" public FixedOrderComparator();\n public FixedOrderComparator(final T... items);\n public (...TRUNCATED)
96
testConstructorPlusAdd
"```java\n// Abstract Java Tested Class\npackage org.apache.commons.collections4.comparators;\n\nimp(...TRUNCATED)
88
"// // Abstract Java Tested Class\n// package org.apache.commons.collections4.comparators;\n// \n// (...TRUNCATED)
" /**\n * Tests that the constructor plus add method compares items properly.\n */\n /(...TRUNCATED)
28
org.apache.commons.collections4.comparators.FixedOrderComparator
src/test/java
"```java\n// Abstract Java Tested Class\npackage org.apache.commons.collections4.comparators;\n\nimp(...TRUNCATED)
public class FixedOrderComparator<T> implements Comparator<T>, Serializable
"package org.apache.commons.collections4.comparators;\n\nimport java.util.Arrays;\nimport java.util.(...TRUNCATED)
" public FixedOrderComparatorTest(final String name);\n @Override\n public Comparator<Strin(...TRUNCATED)
125461b8ca4f4385e5689b7f74c4b9eca78c4101611bd7e99a12547ead401f84
[ "org.apache.commons.collections4.comparators.FixedOrderComparatorTest::testConstructorPlusAdd" ]
" private static final long serialVersionUID = 82794675842863201L;\n private final Map<T, Inte(...TRUNCATED)
@Test public void testConstructorPlusAdd()
" private static final String topCities[] = new String[] {\n \"Tokyo\",\n \"Mexico (...TRUNCATED)
Collections
"/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license a(...TRUNCATED)
[{"be_test_class_file":"org/apache/commons/collections4/comparators/FixedOrderComparator.java","be_t(...TRUNCATED)
public class SegmentedTimelineTests extends TestCase
" public void testFifteenMinSegmentedTimeline() {\n assertEquals(SegmentedTimeline.FIFTEEN(...TRUNCATED)
"// \"2000-12-25\", \"2001-01-01\", \"2001-01-15\", \"2001-02-19\", \"2001-04-13\",\n// (...TRUNCATED)
tests/org/jfree/chart/axis/junit/SegmentedTimelineTests.java
"package org.jfree.chart.axis;\n\nimport java.io.Serializable;\nimport java.util.ArrayList;\nimport (...TRUNCATED)
" public SegmentedTimeline(long segmentSize,\n int segmentsIncluded,\(...TRUNCATED)
348
testFifteenMinSegmentedTimeline
"```java\n \"2000-12-25\", \"2001-01-01\", \"2001-01-15\", \"2001-02-19\", \"2001-04-13\",\n (...TRUNCATED)
340
"// \"2000-12-25\", \"2001-01-01\", \"2001-01-15\", \"2001-02-19\", \"2001-04-13\",\n// (...TRUNCATED)
" /**\n * Tests that the factory method that creates a 15-min 9:00 AM 4:00 PM\n * segmen(...TRUNCATED)
1
org.jfree.chart.axis.SegmentedTimeline
tests
"```java\n \"2000-12-25\", \"2001-01-01\", \"2001-01-15\", \"2001-02-19\", \"2001-04-13\",\n (...TRUNCATED)
public class SegmentedTimeline implements Timeline, Cloneable, Serializable
"package org.jfree.chart.axis.junit;\n\nimport java.io.ByteArrayInputStream;\nimport java.io.ByteArr(...TRUNCATED)
" public static Test suite();\n public SegmentedTimelineTests(String name);\n protected voi(...TRUNCATED)
14576b2f5539d56a91243e003b1fcd7a08b0e68b102633cc35665aaf8189ae49
[ "org.jfree.chart.axis.junit.SegmentedTimelineTests::testFifteenMinSegmentedTimeline" ]
" private static final long serialVersionUID = 1093779862539903110L;\n public static final lon(...TRUNCATED)
public void testFifteenMinSegmentedTimeline()
" private static final int TEST_CYCLE_START = 0;\n private static final int TEST_CYCLE_END =(...TRUNCATED)
Chart
"/* ===========================================================\n * JFreeChart : a free chart librar(...TRUNCATED)
[{"be_test_class_file":"org/jfree/chart/axis/SegmentedTimeline.java","be_test_class_name":"org.jfree(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
5

Models trained or fine-tuned on ZHENGRAN/code_ujb_testgen