id stringlengths 22 24 | content stringlengths 1.25k 447k | max_stars_repo_path stringlengths 29 85 |
|---|---|---|
code_ujb_repair_data_101 | /*
* Copyright 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | com/google/javascript/jscomp/TypeCheckTest.java |
code_ujb_repair_data_102 | package org.jsoup.nodes;
import org.jsoup.Jsoup;
import org.jsoup.TextUtil;
import org.jsoup.parser.Tag;
import org.jsoup.select.Elements;
import org.junit.Test;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.M... | org/jsoup/nodes/ElementTest.java |
code_ujb_repair_data_103 | package com.fasterxml.jackson.databind.jsontype;
import com.fasterxml.jackson.core.Version;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonTypeInfo.As;
import ... | com/fasterxml/jackson/databind/jsontype/TestSubtypes.java |
code_ujb_repair_data_104 | /*
* Copyright 2001-2006 Stephen Colebourne
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | org/joda/time/format/TestPeriodFormatterBuilder.java |
code_ujb_repair_data_105 | package org.jsoup.nodes;
import org.jsoup.Jsoup;
import org.jsoup.TextUtil;
import org.jsoup.helper.StringUtil;
import org.jsoup.parser.Tag;
import org.jsoup.select.Elements;
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
im... | org/jsoup/nodes/ElementTest.java |
code_ujb_repair_data_106 | package com.fasterxml.jackson.databind.jsontype;
import java.util.*;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.annotation.JsonTypeInfo.As;
import com.fasterxml.jackson.annotation.JsonTypeInfo.Id;
import com.fasterxml.jackson.databind.BaseMapTest;
import com.fasterxml.jackson.databind.Obj... | com/fasterxml/jackson/databind/jsontype/TestExternalId.java |
code_ujb_repair_data_107 | /*
* 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 ... | org/apache/commons/compress/archivers/tar/TarUtilsTest.java |
code_ujb_repair_data_108 | /*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockitousage.bugs;
import static org.mockito.Mockito.*;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.Iter... | org/mockitousage/bugs/InheritedGenericsPolimorphicCallTest.java |
code_ujb_repair_data_109 | /*
* 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 ... | org/apache/commons/math3/stat/inference/MannWhitneyUTestTest.java |
code_ujb_repair_data_110 | /*
* Copyright (C) 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | com/google/gson/stream/JsonWriterTest.java |
code_ujb_repair_data_111 | /*
* 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 ... | org/apache/commons/codec/language/SoundexTest.java |
code_ujb_repair_data_112 | /*
* Copyright 2006 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/RemoveUnusedPrototypePropertiesTest.java |
code_ujb_repair_data_113 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | org/jfree/chart/util/junit/ShapeUtilitiesTests.java |
code_ujb_repair_data_114 | package com.fasterxml.jackson.databind.deser.builder;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import com.fasterxml.jackson.databind.BaseMapTest;
import com.fasterxml.jackson.databind.ObjectMapper;
... | com/fasterxml/jackson/databind/deser/builder/BuilderWithUnwrappedTest.java |
code_ujb_repair_data_115 | package org.jsoup.nodes;
import org.jsoup.Jsoup;
import org.jsoup.TextUtil;
import org.jsoup.helper.StringUtil;
import org.jsoup.parser.Tag;
import org.jsoup.select.Elements;
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
im... | org/jsoup/nodes/ElementTest.java |
code_ujb_repair_data_116 | /*
* 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 n... | org/apache/commons/math/util/MathUtilsTest.java |
code_ujb_repair_data_117 | /*
* 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 ... | org/apache/commons/math/optimization/direct/BOBYQAOptimizerTest.java |
code_ujb_repair_data_118 | /*
* 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 ... | org/apache/commons/cli/bug/BugCLI162Test.java |
code_ujb_repair_data_119 | /*
* Copyright 2006 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/TypeCheckTest.java |
code_ujb_repair_data_120 | package com.fasterxml.jackson.dataformat.xml.misc;
import java.io.IOException;
import com.fasterxml.jackson.databind.ObjectWriter;
import com.fasterxml.jackson.dataformat.xml.*;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
public class RootNameTest extends XmlTestBase
{
static cl... | com/fasterxml/jackson/dataformat/xml/misc/RootNameTest.java |
code_ujb_repair_data_121 | package org.jsoup.parser;
import org.jsoup.Jsoup;
import org.jsoup.TextUtil;
import org.jsoup.nodes.Comment;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.nodes.TextNode;
import org.jsoup.select.Elements;
import org.junit.Test;
import java.util.List;
import static org.junit.Assert... | org/jsoup/parser/ParserTest.java |
code_ujb_repair_data_122 | package org.apache.commons.cli.bug;
import org.apache.commons.cli.*;
import org.junit.Test;
public class BugCLI252Test extends DefaultParserTest {
@Test
public void testExactOptionNameMatch() throws ParseException {
new DefaultParser().parse(getOptions(), new String[]{"--prefix"});
}
@Test(e... | org/apache/commons/cli/bug/BugCLI252Test.java |
code_ujb_repair_data_123 | package com.fasterxml.jackson.databind.deser;
import java.io.*;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml... | com/fasterxml/jackson/databind/deser/TestCustomDeserializers.java |
code_ujb_repair_data_124 | /*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.stubbing.defaultanswers;
import org.junit.Test;
import org.mockito.invocation.Invocation;
import org.mockitoutil.TestBase;
import java.util.*;
import static org.mockit... | org/mockito/internal/stubbing/defaultanswers/ReturnsEmptyValuesTest.java |
code_ujb_repair_data_125 | /*
* 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... | org/apache/commons/compress/archivers/zip/ZipFileTest.java |
code_ujb_repair_data_126 | /*
* Copyright 2008 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/InlineFunctionsTest.java |
code_ujb_repair_data_127 | package com.fasterxml.jackson.databind.struct;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.*;
/**
* Unit tests for verifying that basic {@link JsonUnwrapped} annotation
* handling works as expected; some more advanced tests are separated out
* to more specific test classes (li... | com/fasterxml/jackson/databind/struct/TestUnwrapped.java |
code_ujb_repair_data_128 | /*
* Copyright 2009 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/IntegrationTest.java |
code_ujb_repair_data_129 | package org.jsoup.nodes;
import org.jsoup.Jsoup;
import org.jsoup.TextUtil;
import org.jsoup.parser.Tag;
import org.junit.Test;
import static org.junit.Assert.*;
/**
Tests Nodes
@author Jonathan Hedley, jonathan@hedley.net */
public class NodeTest {
@Test public void handlesBaseUri() {
Tag tag = Tag.va... | org/jsoup/nodes/NodeTest.java |
code_ujb_repair_data_130 | package org.jsoup.safety;
import org.jsoup.Jsoup;
import org.jsoup.TextUtil;
import org.jsoup.safety.Whitelist;
import org.junit.Test;
import static org.junit.Assert.*;
/**
Tests for the cleaner.
@author Jonathan Hedley, jonathan@hedley.net */
public class CleanerTest {
@Test public void simpleBehaviourTest() ... | org/jsoup/safety/CleanerTest.java |
code_ujb_repair_data_131 | /*
* 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 ... | org/apache/commons/lang3/time/FastDateFormatTest.java |
code_ujb_repair_data_132 | /*
* 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 ... | org/apache/commons/lang/math/FractionTest.java |
code_ujb_repair_data_133 | /*
* 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 ... | org/apache/commons/math/distribution/NormalDistributionTest.java |
code_ujb_repair_data_134 | package com.fasterxml.jackson.databind.ser;
import java.io.*;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.databind.*;... | com/fasterxml/jackson/databind/ser/TestMapSerialization.java |
code_ujb_repair_data_135 | package com.fasterxml.jackson.dataformat.xml.stream;
import java.io.*;
import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.dataformat.xml.XmlFactory;
import com.fasterxml.jackson.dataformat.xml.XmlTestBase;
import com.fasterxml.jackson.dataformat.xml.deser.FromXmlParser;
public class XmlParserNextXxxT... | com/fasterxml/jackson/dataformat/xml/stream/XmlParserNextXxxTest.java |
code_ujb_repair_data_136 | /*
* Copyright 2001-2007 Stephen Colebourne
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | org/joda/time/TestDateTimeZoneCutover.java |
code_ujb_repair_data_137 | /*
* 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 ... | org/apache/commons/math/util/FastMathTest.java |
code_ujb_repair_data_138 | /*
* Copyright 2001-2010 Stephen Colebourne
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | org/joda/time/TestMonthDay_Basics.java |
code_ujb_repair_data_139 | package org.mockitousage.bugs;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import java.lang.reflect.Field;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertSame;
@RunW... | org/mockitousage/bugs/InjectionByTypeShouldFirstLookForExactTypeThenAncestorTest.java |
code_ujb_repair_data_140 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2010, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | org/jfree/chart/renderer/category/junit/AbstractCategoryItemRendererTests.java |
code_ujb_repair_data_141 | /*
* Copyright 2008 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/LiveVariableAnalysisTest.java |
code_ujb_repair_data_142 | /*
* 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 ... | org/apache/commons/math/optimization/linear/SimplexSolverTest.java |
code_ujb_repair_data_143 | package org.jsoup.parser;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Test suite for character reader.
*
* @author Jonathan Hedley, jonathan@hedley.net
*/
public class CharacterReaderTest {
@Test public void consume() {
CharacterReader r = new CharacterReader("one");
asser... | org/jsoup/parser/CharacterReaderTest.java |
code_ujb_repair_data_144 | package com.fasterxml.jackson.databind.type;
import java.lang.reflect.Method;
import java.util.*;
import java.util.concurrent.atomic.AtomicReference;
import com.fasterxml.jackson.databind.BaseMapTest;
import com.fasterxml.jackson.databind.JavaType;
/**
* Simple tests to verify that {@link JavaType} types work to
*... | com/fasterxml/jackson/databind/type/TestJavaType.java |
code_ujb_repair_data_145 | /*
* 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 ... | org/apache/commons/math3/optimization/direct/CMAESOptimizerTest.java |
code_ujb_repair_data_146 | package org.jsoup.helper;
import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.MultiLocaleRule;
import org.jsoup.MultiLocaleRule.MultiLocaleTest;
import org.jsoup.integration.ParseTest;
import org.junit.Rule;
import org.junit.Test;
import java.io.IOException;
import java.net.MalformedURLException;
im... | org/jsoup/helper/HttpConnectionTest.java |
code_ujb_repair_data_147 | package org.jsoup.nodes;
import org.jsoup.Jsoup;
import org.jsoup.TextUtil;
import org.jsoup.parser.Tag;
import org.jsoup.select.Elements;
import org.junit.Test;
import java.util.*;
import static org.junit.Assert.*;
/**
* Tests for Element (DOM stuff mostly).
*
* @author Jonathan Hedley
*/
public class ElementT... | org/jsoup/nodes/ElementTest.java |
code_ujb_repair_data_148 | package com.fasterxml.jackson.databind.node;
import java.io.IOException;
import java.util.*;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.faste... | com/fasterxml/jackson/databind/node/POJONodeTest.java |
code_ujb_repair_data_149 | /*
* 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 ... | org/apache/commons/math3/complex/ComplexTest.java |
code_ujb_repair_data_150 | package com.fasterxml.jackson.databind.deser;
import java.io.*;
import java.net.*;
import java.nio.ByteBuffer;
import java.nio.charset.Charset;
import java.util.Currency;
import java.util.List;
import java.util.Locale;
import java.util.regex.Pattern;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jac... | com/fasterxml/jackson/databind/deser/TestJdkTypes.java |
code_ujb_repair_data_151 | /*
* Copyright 2011 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/PeepholeReplaceKnownMethodsTest.java |
code_ujb_repair_data_152 | package com.fasterxml.jackson.databind.objectid;
import java.util.*;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.databind.*;
public class Objecid1083Test extends BaseMapTest
{
public static class JsonRoot {
public final List<JsonSchema> s... | com/fasterxml/jackson/databind/objectid/Objecid1083Test.java |
code_ujb_repair_data_153 | package com.fasterxml.jackson.databind.jsontype;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.databind.*;
// for [databind#1735]:
public class GenericTypeId1735Test extends BaseMapTest
{
static class Wrapper1735 {
@JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, property =... | com/fasterxml/jackson/databind/jsontype/GenericTypeId1735Test.java |
code_ujb_repair_data_154 | /*
* Copyright (C) 2017 Gson Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | com/google/gson/internal/bind/RecursiveTypesResolveTest.java |
code_ujb_repair_data_155 | package com.fasterxml.jackson.databind.deser.creators;
import java.util.AbstractCollection;
import java.util.Collection;
import java.util.Collections;
import java.util.Iterator;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.annotati... | com/fasterxml/jackson/databind/deser/creators/DelegatingArrayCreator2324Test.java |
code_ujb_repair_data_156 | /*
* Copyright 2007 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/parsing/JsDocInfoParserTest.java |
code_ujb_repair_data_157 | package com.fasterxml.jackson.core;
import com.fasterxml.jackson.test.BaseTest;
public class TestJsonPointer extends BaseTest
{
public void testSimplePath() throws Exception
{
final String INPUT = "/Image/15/name";
JsonPointer ptr = JsonPointer.compile(INPUT);
assertFalse(ptr.matches(... | com/fasterxml/jackson/core/TestJsonPointer.java |
code_ujb_repair_data_158 | /*
* Copyright 2004 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | com/google/javascript/jscomp/FoldConstantsTest.java |
code_ujb_repair_data_159 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2007, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | org/jfree/chart/plot/junit/ValueMarkerTests.java |
code_ujb_repair_data_160 | /*
* 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... | org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java |
code_ujb_repair_data_161 | package com.fasterxml.jackson.core.json.async;
import com.fasterxml.jackson.core.*;
import com.fasterxml.jackson.core.async.AsyncTestBase;
import com.fasterxml.jackson.core.async.ByteArrayFeeder;
public class AsyncLocationTest extends AsyncTestBase
{
private final JsonFactory DEFAULT_F = new JsonFactory();
/... | com/fasterxml/jackson/core/json/async/AsyncLocationTest.java |
code_ujb_repair_data_162 | /*
* 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 ... | org/apache/commons/lang/builder/EqualsBuilderTest.java |
code_ujb_repair_data_163 | package com.fasterxml.jackson.databind.ser;
import java.io.*;
import java.text.*;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.*;
public class DateSerializationTest
extends BaseMapTest
{
static class TimeZoneBean {
private TimeZone tz;
... | com/fasterxml/jackson/databind/ser/DateSerializationTest.java |
code_ujb_repair_data_164 | /*
* Copyright 2006 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/CheckSideEffectsTest.java |
code_ujb_repair_data_165 | /*
* 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 ... | org/apache/commons/math3/optimization/linear/SimplexSolverTest.java |
code_ujb_repair_data_166 | package com.fasterxml.jackson.core.util;
public class TestTextBuffer
extends com.fasterxml.jackson.core.BaseTest
{
/**
* Trivially simple basic test to ensure all basic append
* methods work
*/
public void testSimple()
{
TextBuffer tb = new TextBuffer(new BufferRecycler());
... | com/fasterxml/jackson/core/util/TestTextBuffer.java |
code_ujb_repair_data_167 | /*
* Copyright 2010 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/ScopedAliasesTest.java |
code_ujb_repair_data_168 | package com.fasterxml.jackson.core.json;
import java.io.ByteArrayOutputStream;
import java.io.OutputStreamWriter;
import com.fasterxml.jackson.core.JsonEncoding;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
... | com/fasterxml/jackson/core/json/GeneratorFailTest.java |
code_ujb_repair_data_169 | /*
* 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 ... | org/apache/commons/math/complex/ComplexTest.java |
code_ujb_repair_data_170 | /*
* 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 ... | org/apache/commons/math/stat/descriptive/SummaryStatisticsTest.java |
code_ujb_repair_data_171 | /*
* Copyright 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | com/google/javascript/jscomp/ProcessClosurePrimitivesTest.java |
code_ujb_repair_data_172 | package com.fasterxml.jackson.databind.introspect;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.module.SimpleModule;
public class TestMixinMerging extends BaseMapTest
{
public interface Contact {
String getCity();
... | com/fasterxml/jackson/databind/introspect/TestMixinMerging.java |
code_ujb_repair_data_173 | /*
* Copyright 2006 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/ExploitAssignsTest.java |
code_ujb_repair_data_174 | /*
* 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 ... | org/apache/commons/lang3/time/FastDateFormatTest.java |
code_ujb_repair_data_175 | /*
* 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 ... | org/apache/commons/lang/StringEscapeUtilsTest.java |
code_ujb_repair_data_176 | package com.fasterxml.jackson.databind.mixins;
import java.lang.annotation.*;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.*;
// for [databind#771]
public class MixinsWithBundlesTest extends BaseMapTest
{
@Target(value={ ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType... | com/fasterxml/jackson/databind/mixins/MixinsWithBundlesTest.java |
code_ujb_repair_data_177 | /*
* Copyright 2007 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/ClosureReverseAbstractInterpreterTest.java |
code_ujb_repair_data_178 | /*
* 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... | org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java |
code_ujb_repair_data_179 | /*
* 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 ... | org/apache/commons/jxpath/ri/compiler/CoreOperationTest.java |
code_ujb_repair_data_180 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | org/jfree/chart/imagemap/junit/StandardToolTipTagFragmentGeneratorTests.java |
code_ujb_repair_data_181 | /*
* 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 ... | org/apache/commons/math/util/MultidimensionalCounterTest.java |
code_ujb_repair_data_182 | /*
* 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 ... | org/apache/commons/math3/genetics/ListPopulationTest.java |
code_ujb_repair_data_183 | package org.mockitointegration;
import org.hamcrest.Matcher;
import org.junit.Test;
import org.mockito.Mockito;
import org.mockito.cglib.proxy.Enhancer;
import org.mockitoutil.ClassLoaders;
import org.objenesis.Objenesis;
import java.util.Set;
public class NoJUnitDependenciesTest {
@Test
public void pure_moc... | org/mockitointegration/NoJUnitDependenciesTest.java |
code_ujb_repair_data_184 | /*
* 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 ... | org/apache/commons/math/analysis/solvers/BrentSolverTest.java |
code_ujb_repair_data_185 | /*
* 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 ... | org/apache/commons/math3/distribution/MultivariateNormalDistributionTest.java |
code_ujb_repair_data_186 | /*
* 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 ... | org/apache/commons/cli/bug/BugCLI51Test.java |
code_ujb_repair_data_187 | /*
* Copyright 2004 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/PeepholeSubstituteAlternateSyntaxTest.java |
code_ujb_repair_data_188 | /*
* 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 ... | org/apache/commons/lang3/math/NumberUtilsTest.java |
code_ujb_repair_data_189 | /*
* 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 ... | org/apache/commons/math/optimization/general/MinpackTest.java |
code_ujb_repair_data_190 | /*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.invocation;
import org.fest.assertions.Assertions;
import org.hamcrest.Matcher;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mocki... | org/mockito/internal/invocation/InvocationMatcherTest.java |
code_ujb_repair_data_191 | /*
* 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 ... | org/apache/commons/math/analysis/solvers/BisectionSolverTest.java |
code_ujb_repair_data_192 | /*
* 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 ... | org/apache/commons/jxpath/ri/compiler/VariableTest.java |
code_ujb_repair_data_193 | /**
* 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... | org/apache/commons/cli/PosixParserTest.java |
code_ujb_repair_data_194 | /*
* Copyright 2006 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | com/google/javascript/jscomp/TypeCheckTest.java |
code_ujb_repair_data_195 | /*
* Copyright 2007 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/ConvertToDottedPropertiesTest.java |
code_ujb_repair_data_196 | /*
* Copyright 2009 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/CommandLineRunnerTest.java |
code_ujb_repair_data_197 | /*
* Copyright 2006 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | com/google/javascript/jscomp/TypeCheckTest.java |
code_ujb_repair_data_198 | /*
* 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 ... | org/apache/commons/codec/binary/Base64Test.java |
code_ujb_repair_data_199 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/in... | org/jfree/chart/plot/junit/MultiplePiePlotTests.java |
code_ujb_repair_data_200 | /*
* Copyright (c) 2007 Mockito contributors
* This program is made available under the terms of the MIT License.
*/
package org.mockito.internal.invocation;
import org.hamcrest.Matcher;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.internal.matchers.*;
import org.mocki... | org/mockito/internal/invocation/InvocationMatcherTest.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.