id
stringlengths
22
24
content
stringlengths
1.25k
447k
max_stars_repo_path
stringlengths
29
85
code_ujb_repair_data_301
/* * Copyright 2001-2005 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/TestPeriod_Basics.java
code_ujb_repair_data_302
/* * 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_303
/* * 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_304
package org.jsoup.parser; import org.jsoup.Jsoup; import org.jsoup.TextUtil; import org.jsoup.helper.StringUtil; import org.jsoup.integration.ParseTest; import org.jsoup.nodes.*; import org.jsoup.select.Elements; import org.junit.Test; import java.io.File; import java.io.IOException; import java.util.List; import st...
org/jsoup/parser/HtmlParserTest.java
code_ujb_repair_data_305
/** * 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/OptionsTest.java
code_ujb_repair_data_306
package com.fasterxml.jackson.databind.convert; import java.util.*; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.util.StdConverter; public class TestMapConversions ...
com/fasterxml/jackson/databind/convert/TestMapConversions.java
code_ujb_repair_data_307
package com.fasterxml.jackson.core.json; import com.fasterxml.jackson.core.*; // NOTE: just a stub so for, fill me! public class TestLocation extends com.fasterxml.jackson.test.BaseTest { // Trivially simple unit test for basics wrt offsets public void testSimpleInitialOffsets() throws Exception { ...
com/fasterxml/jackson/core/json/TestLocation.java
code_ujb_repair_data_308
/* * 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/CodePrinterTest.java
code_ujb_repair_data_309
/* * 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/LooseTypeCheckTest.java
code_ujb_repair_data_310
/* * 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/text/StrBuilderTest.java
code_ujb_repair_data_311
/* * 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/BooleanUtilsTest.java
code_ujb_repair_data_312
package org.jsoup.nodes; import org.junit.Test; import static org.junit.Assert.assertEquals; public class AttributeTest { @Test public void html() { Attribute attr = new Attribute("key", "value &"); assertEquals("key=\"value &\"", attr.html()); assertEquals(attr.html(), attr.toString(...
org/jsoup/nodes/AttributeTest.java
code_ujb_repair_data_313
/* * 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_314
/* * Copyright 2009 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/TypedScopeCreatorTest.java
code_ujb_repair_data_315
/* * Copyright (C) 2016 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/gson/regression/JsonAdapterNullSafeTest.java
code_ujb_repair_data_316
/* * 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/LocaleUtilsTest.java
code_ujb_repair_data_317
/* * 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/StringUtilsTest.java
code_ujb_repair_data_318
/* * 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/tar/TarArchiveInputStreamTest.java
code_ujb_repair_data_319
package org.mockito.internal.util.reflection; import static org.junit.Assert.*; import java.lang.reflect.Field; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Set; import org.junit.Test; public class GenericMasterTest { GenericMaster m = new GenericMaster(); ...
org/mockito/internal/util/reflection/GenericMasterTest.java
code_ujb_repair_data_320
package org.jsoup.nodes; import org.jsoup.Connection; import org.jsoup.Jsoup; import org.junit.Test; import java.util.List; import static org.junit.Assert.*; /** * Tests for FormElement * * @author Jonathan Hedley */ public class FormElementTest { @Test public void hasAssociatedControls() { //"butto...
org/jsoup/nodes/FormElementTest.java
code_ujb_repair_data_321
package org.jsoup.parser; import org.jsoup.Jsoup; import org.jsoup.TextUtil; import org.jsoup.helper.StringUtil; import org.jsoup.nodes.*; import org.jsoup.select.Elements; import org.junit.Test; import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import sta...
org/jsoup/parser/HtmlParserTest.java
code_ujb_repair_data_322
/* * 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/InlineObjectLiteralsTest.java
code_ujb_repair_data_323
/* * 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/tar/TarArchiveInputStreamTest.java
code_ujb_repair_data_324
/* * 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/DiscreteRealDistributionTest.java
code_ujb_repair_data_325
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.internal.util.reflection; import static org.fest.assertions.Assertions.assertThat; import static org.junit.Assert.fail; import static org.mockito.internal.util.reflection.GenericM...
org/mockito/internal/util/reflection/GenericMetadataSupportTest.java
code_ujb_repair_data_326
/* * 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/csv/CSVPrinterTest.java
code_ujb_repair_data_327
/* * 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/CodePrinterTest.java
code_ujb_repair_data_328
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.core.type.TypeReference; import com.fasterxml.jackson.databind....
com/fasterxml/jackson/databind/jsontype/TestCustomTypeIdResolver.java
code_ujb_repair_data_329
/* * 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_330
/** * 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/UtilTest.java
code_ujb_repair_data_331
package com.fasterxml.jackson.databind.deser; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.*; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.exc.InvalidFormatException; public class TestDateDeseria...
com/fasterxml/jackson/databind/deser/TestDateDeserialization.java
code_ujb_repair_data_332
/* * 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/ZipArchiveEntryTest.java
code_ujb_repair_data_333
package org.jsoup.helper; import static org.junit.Assert.*; import org.jsoup.integration.ParseTest; import org.junit.Test; import org.jsoup.Connection; import java.io.IOException; import java.util.*; import java.net.URL; import java.net.MalformedURLException; public class HttpConnectionTest { /* most actual net...
org/jsoup/helper/HttpConnectionTest.java
code_ujb_repair_data_334
/* * 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/correlation/PearsonsCorrelationTest.java
code_ujb_repair_data_335
/* * Copyright (C) 2008 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/gson/functional/PrimitiveTest.java
code_ujb_repair_data_336
package com.fasterxml.jackson.core.sym; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.HashSet; import com.fasterxml.jackson.core.*; /** * Tests that use symbol table functionality through parser. */ public class SymbolsViaParserTest extends com.fasterxml.jackson.core.BaseTes...
com/fasterxml/jackson/core/sym/SymbolsViaParserTest.java
code_ujb_repair_data_337
/* * 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_338
/* * 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_339
package com.fasterxml.jackson.databind.filter; import java.io.IOException; import java.util.*; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; impo...
com/fasterxml/jackson/databind/filter/JsonIncludeTest.java
code_ujb_repair_data_340
/* * 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/CollapsePropertiesTest.java
code_ujb_repair_data_341
/* * 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/RegulaFalsiSolverTest.java
code_ujb_repair_data_342
package org.jsoup.parser; import org.jsoup.Jsoup; import org.jsoup.TextUtil; import org.jsoup.helper.StringUtil; import org.jsoup.integration.ParseTest; import org.jsoup.nodes.Comment; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.nodes.Entities; import org.jsoup.nodes.FormElement; ...
org/jsoup/parser/HtmlParserTest.java
code_ujb_repair_data_343
package org.jsoup.safety; import org.jsoup.Jsoup; import org.jsoup.TextUtil; import org.jsoup.nodes.Document; import org.jsoup.nodes.Entities; import org.jsoup.safety.Whitelist; import org.junit.Test; import static org.junit.Assert.*; /** Tests for the cleaner. @author Jonathan Hedley, jonathan@hedley.net */ publi...
org/jsoup/safety/CleanerTest.java
code_ujb_repair_data_344
/* * 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_345
/* * 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/CheckGlobalNamesTest.java
code_ujb_repair_data_346
/* * 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/fraction/FractionTest.java
code_ujb_repair_data_347
package com.fasterxml.jackson.core.read; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; public class NonStandardUnquotedNamesTest extends com.fasterxml.jackson.core.Base...
com/fasterxml/jackson/core/read/NonStandardUnquotedNamesTest.java
code_ujb_repair_data_348
/* * 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/ParserTest.java
code_ujb_repair_data_349
/* * Copyright 2004 The Apache Software Foundation. * * 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 appl...
org/apache/commons/math/fraction/FractionFormatTest.java
code_ujb_repair_data_350
/* * 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/tar/TarArchiveInputStreamTest.java
code_ujb_repair_data_351
package org.jsoup.nodes; import java.io.ByteArrayInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; import org.jsoup.Jsoup; import org.jsoup.TextUtil; import org.jsoup.integration.ParseTest; import org.jsoup.nodes.Document.OutputSettings.Syntax; i...
org/jsoup/nodes/DocumentTest.java
code_ujb_repair_data_352
package com.fasterxml.jackson.databind.type; import java.lang.reflect.Field; import java.util.*; import java.util.concurrent.atomic.AtomicReference; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.*; /** * Simple tests to verify that the {@link TypeFactory} constructs * ...
com/fasterxml/jackson/databind/type/TestTypeFactory.java
code_ujb_repair_data_353
/* * 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/fraction/FractionTest.java
code_ujb_repair_data_354
/* * 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/Base64InputStreamTest.java
code_ujb_repair_data_355
/* * 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_356
/* * 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/HypergeometricDistributionTest.java
code_ujb_repair_data_357
package org.jsoup.select; import org.jsoup.Jsoup; import org.jsoup.TextUtil; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.nodes.FormElement; import org.jsoup.nodes.Node; import org.junit.Test; import java.util.List; import static org.junit.Assert.assertEquals; import static org.j...
org/jsoup/select/ElementsTest.java
code_ujb_repair_data_358
/* * Copyright 2001-2012 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_359
package com.fasterxml.jackson.databind.type; import java.lang.reflect.Method; import java.util.*; import com.fasterxml.jackson.databind.BaseMapTest; import com.fasterxml.jackson.databind.JavaType; /** * Simple tests to verify that {@link JavaType} types work to * some degree */ public class TestJavaType exten...
com/fasterxml/jackson/databind/type/TestJavaType.java
code_ujb_repair_data_360
/* * 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/CodePrinterTest.java
code_ujb_repair_data_361
package com.fasterxml.jackson.databind.jsontype; import java.util.*; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.annotation.NoClass; /** * Unit tests related to specialized handling of "default implementation" * ({@link JsonTypeInfo#def...
com/fasterxml/jackson/databind/jsontype/TestPolymorphicWithDefaultImpl.java
code_ujb_repair_data_362
/* =========================================================== * 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/data/time/junit/TimeSeriesTests.java
code_ujb_repair_data_363
package com.fasterxml.jackson.databind.creators; import java.util.Collections; import java.util.Set; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.*; public class ArrayDelegatorCreatorForCollectionTest extends BaseMapTest { @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = ...
com/fasterxml/jackson/databind/creators/ArrayDelegatorCreatorForCollectionTest.java
code_ujb_repair_data_364
/* * 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/InlineObjectLiteralsTest.java
code_ujb_repair_data_365
/* * 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_366
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_367
/* * Copyright (C) 2008 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/gson/DefaultDateTypeAdapterTest.java
code_ujb_repair_data_368
package com.fasterxml.jackson.databind.deser; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.*; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.core.*; import com.faste...
com/fasterxml/jackson/databind/deser/TestMapDeserialization.java
code_ujb_repair_data_369
/* * 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/csv/CSVPrinterTest.java
code_ujb_repair_data_370
package com.fasterxml.jackson.databind.filter; import java.io.IOException; import java.util.Map; import java.util.UUID; import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.*; import com.f...
com/fasterxml/jackson/databind/filter/ProblemHandlerTest.java
code_ujb_repair_data_371
/* * 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/lang3/math/FractionTest.java
code_ujb_repair_data_372
/* * 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_373
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_374
/* * 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/FlowSensitiveInlineVariablesTest.java
code_ujb_repair_data_375
/** * 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/cli2/bug/BugCLI158Test.java
code_ujb_repair_data_376
/* * 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/tar/TarArchiveInputStreamTest.java
code_ujb_repair_data_377
/* * 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/CodePrinterTest.java
code_ujb_repair_data_378
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.List; import java.util.Set; import java....
org/jsoup/nodes/ElementTest.java
code_ujb_repair_data_379
package com.fasterxml.jackson.databind.deser; import java.io.Serializable; import java.math.BigDecimal; import java.util.concurrent.atomic.*; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fast...
com/fasterxml/jackson/databind/deser/TestJDKAtomicTypes.java
code_ujb_repair_data_380
/* * 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_381
/* * 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/TypeInferenceTest.java
code_ujb_repair_data_382
/* * 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/StringUtilsTest.java
code_ujb_repair_data_383
/* * 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/text/translate/NumericEntityUnescaperTest.java
code_ujb_repair_data_384
/* * 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_385
/* * 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/LightweightMessageFormatterTest.java
code_ujb_repair_data_386
/* * 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/JSCompilerSourceExcerptProviderTest.java
code_ujb_repair_data_387
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.List; import java.util.Set; import java....
org/jsoup/nodes/ElementTest.java
code_ujb_repair_data_388
/* * Copyright 2009 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/CommandLineRunnerTest.java
code_ujb_repair_data_389
/* * 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/DoubleMetaphone2Test.java
code_ujb_repair_data_390
package org.jsoup.integration; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import static org.junit.Assert.*; import org.junit.Test; import java.io.File; import java.io.IOException; import java.net.URISyntaxException; /** * Integration te...
org/jsoup/integration/ParseTest.java
code_ujb_repair_data_391
/* * 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/StringUtilsTest.java
code_ujb_repair_data_392
/* * 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/ode/nonstiff/AdamsMoultonIntegratorTest.java
code_ujb_repair_data_393
/* * 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/text/translate/NumericEntityUnescaperTest.java
code_ujb_repair_data_394
/** * 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/OptionsTest.java
code_ujb_repair_data_395
/* * 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_396
/* * 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/ArrayUtilsAddTest.java
code_ujb_repair_data_397
/* * Copyright 2007 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/SemanticReverseAbstractInterpreterTest.java
code_ujb_repair_data_398
package com.fasterxml.jackson.databind.filter; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.databind.BaseMapTest; import com.fasterxml.jackson.databind.ObjectMapper; public class IgnorePropertyOnDeserTest extends ...
com/fasterxml/jackson/databind/filter/IgnorePropertyOnDeserTest.java
code_ujb_repair_data_399
package com.fasterxml.jackson.databind.ser.jdk; import java.io.IOException; import java.util.Calendar; import java.util.Date; import java.util.TimeZone; import com.fasterxml.jackson.annotation.*; import com.fasterxml.jackson.databind.*; // Tests for `java.sql.Date`, `java.sql.Time` and `java.sql.Timestamp` public c...
com/fasterxml/jackson/databind/ser/jdk/SqlDateSerializationTest.java
code_ujb_repair_data_400
/* * 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