class_name stringlengths 1 78 | java_source stringlengths 11 837k | jasm_code stringlengths 237 1.46M | java_test stringlengths 592 4.08M | java_scaffold stringlengths 2.82k 8.12k | class_idx int64 0 153k |
|---|---|---|---|---|---|
AptoideCredentials | public class AptoideCredentials {
private final String email;
private final String code;
private final boolean isChecked;
private final String agent;
private final String state;
public AptoideCredentials(
String email, String code, boolean isChecked, String agent, String state) {
this.email = em... | .version 52 0
.class public super AptoideCredentials
.super java/lang/Object
.field private final email Ljava/lang/String;
.field private final code Ljava/lang/String;
.field private final isChecked Z
.field private final agent Ljava/lang/String;
.field private final state Ljava/lang/String;
.method public <in... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:00:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:00:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,400 |
City | /** Created by test on 8/11/2015. */
public class City {
private int id;
private String city_name;
private String city_code;
private int province_id;
public int getId() {
return id;
}
public String getCity_name() {
return city_name;
}
public String getCity_code() {
return city_code;
}... | .version 52 0
.class public super City
.super java/lang/Object
.field private id I
.field private city_name Ljava/lang/String;
.field private city_code Ljava/lang/String;
.field private province_id I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:25:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:25:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,401 |
AbstractDelegateOutputStream | /*
* _____ _ _ _____ _
* | __ \| | | | / ____| | |
* | |__) | | ___ | |_| (___ __ _ _ _ __ _ _ __ ___ __| |
* | ___/| |/ _ \| __|\___ \ / _` | | | |/ _` | '__/ _ \/ _` |
* | | | | (_) | |_ ____) | (_| | ... | .version 52 0
.class public super AbstractDelegateOutputStream
.super java/io/OutputStream
.field private final parent Ljava/io/OutputStream;
.method public <init> : (Ljava/io/OutputStream;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/io/OutputStream <init> ()V
L4: aload_0... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:29:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import org.evosuite.runtime.mo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:29:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,402 |
PaymentOrderQueryParam | /*
* Copyright 2015-2102 RonCoo(http://www.roncoo.com) Group.
*
* 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 ... | .version 52 0
.class public super PaymentOrderQueryParam
.super java/lang/Object
.implements java/io/Serializable
.field private merchantNo Ljava/lang/String;
.field private merchantName Ljava/lang/String;
.field private merchantOrderNo Ljava/lang/String;
.field private orderDateBegin Ljava/lang/String;
.field ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:44:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:44:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,403 |
App | import java.util.function.*;
/**
* @author Miguel Gamboa created on 04-03-2016
*/
public class App {
public static <T> T fetch(Supplier<T> s) {
return s.get();
}
public static String fetchString(Supplier<String> s) {
return s.get();
}
public static void execute(Runnable r) {
r.run();
}
p... | .version 52 0
.class public super App
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end met... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:30:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.util.function.Supplier;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:30:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,404 |
PointsWithMath | /** Created by Dima on 23.02.2016. */
public class PointsWithMath {
public double x1;
public double y1;
public double x2;
public double y2;
public PointsWithMath(double x1, double y1, double x2, double y2) {
this.x1 = x1;
this.y1 = y1;
this.x2 = x2;
this.y2 = y2;
}
public double distanc... | .version 52 0
.class public super PointsWithMath
.super java/lang/Object
.field public x1 D
.field public y1 D
.field public x2 D
.field public y2 D
.method public <init> : (DDDD)V
.code stack 3 locals 9
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dl... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:43:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:43:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,405 |
SecurityConfigurationException | public class SecurityConfigurationException extends Exception {
/** */
private static final long serialVersionUID = 584798582837873652L;
public SecurityConfigurationException(String message, Throwable cause) {
// TODO Auto-generated constructor stub
}
}
| .version 52 0
.class public super SecurityConfigurationException
.super java/lang/Exception
.field private static final serialVersionUID J = 584798582837873652L
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 1 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Ex... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:49:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:49:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,406 |
Temperature | public class Temperature {
public Temperature() {
// TODO Auto-generated constructor stub
}
public static double feltAirTemperature(double temperature, double windSpeed) {
return 13.12
+ 0.6215 * temperature
- 11.37 * Math.pow(windSpeed, 0.16)
+ 0.3965 * temperature * Math.pow(wi... | .version 52 0
.class public super Temperature
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
L4 7
.end linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:35:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:35:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,407 |
LocationConstant | /**
* 转发地址管理类
*
* @author longge
*/
public class LocationConstant {
// 栏目管理
public static String sys_back_programa_manage =
"backStage/sys_back_programa_manage/sys_back_programa_manage";
public static String sys_back_programa_manage_create =
"backStage/sys_back_programa_manage/sys_back_programa_m... | .version 52 0
.class public super LocationConstant
.super java/lang/Object
.field public static sys_back_programa_manage Ljava/lang/String;
.field public static sys_back_programa_manage_create Ljava/lang/String;
.field public static sys_web_static_resource_manage Ljava/lang/String;
.field public static sys_web_st... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:16:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:16:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,408 |
City | /** Created by G.e.O.r.G.e.S on 4/15/2017. */
public class City {
public int City_Id;
public String Name;
@Override
public String toString() {
return this.Name;
}
}
| .version 52 0
.class public super City
.super java/lang/Object
.field public City_Id I
.field public Name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:19:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:19:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,409 |
StopWords | import java.io.*;
import java.util.*;
public class StopWords {
private static String OUTPUT_FILE = "YOUR_FILE_LOCATION";
public static Boolean searchForStopWord(String word, List<String> textForCheck) {
int indexOfWord = Collections.binarySearch(textForCheck, word);
if (indexOfWord < 0) return false;
... | .version 52 0
.class public super StopWords
.super java/lang/Object
.field private static OUTPUT_FILE Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:52:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import java.util.List;
import java.util.NoSuchElementException;
import org.evosuite.runt... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:52:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,410 |
EmpInfo | public class EmpInfo {}
| .version 52 0
.class public super EmpInfo
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:45:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:45:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,411 |
HtmlTag | ////////////////////////////////////////////////////////////////////////////////
// checkstyle: Checks Java source code for adherence to a set of rules.
// Copyright (C) 2001-2015 the original author or authors.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU ... | .version 52 0
.class super HtmlTag
.super java/lang/Object
.field private static final MAX_TEXT_LEN I = 60
.field private final id Ljava/lang/String;
.field private final lineNo I
.field private final position I
.field private final text Ljava/lang/String;
.field private final closedTag Z
.field private final ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:21:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:21:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,412 |
DynamicTrayImage | /*
* This file is part of IPFireTray.
*
* IPFireTray is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* IPFireTray is distribu... | .version 52 0
.class public super DynamicTrayImage
.super java/lang/Object
.field public static final TRAY_SIZE_X I
.field public static final TRAY_SIZE_Y I
.field private static final IMAGE Ljava/awt/image/BufferedImage;
.field private static final G2D Ljava/awt/Graphics2D;
.field private static final DOWNVALUE... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:53:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:53:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,413 |
WeightMultipliers | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import java.util.ArrayList;
/**
* @author Terekhov F.V. <fterekhov@gmail.com>
*/
public class WeightMultipliers {
public static ArrayList<String[]> listweightmultipliers = new ArrayList<String[]>();
public stat... | .version 52 0
.class public super WeightMultipliers
.super java/lang/Object
.field public static listweightmultipliers Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<[Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:27:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:27:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,414 |
ArrayUtils | /*
* 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 ... | .version 52 0
.class public final super ArrayUtils
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25
L4 26
.end linenu... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:58:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:58:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,415 |
EncoderException | /**
* Thrown when there is a failure condition during the encoding process.
*
* <p>This exception is thrown when an {@link Encoder} encounters a encoding specific exception such
* as invalid data, inability to calculate a checksum, characters outside of the expected range.
*/
public class EncoderException extends ... | .version 52 0
.class public super EncoderException
.super java/lang/Exception
.field private static final serialVersionUID J = -3744113382774038476L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:45:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:45:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,416 |
Exceptions | /*
* Copyright 1&1 Internet AG, https://github.com/1and1/
*
* 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... | .version 52 0
.class public super Exceptions
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 27
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:45:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionException;
import java.util.concurrent.ExecutionException;
import org.evosuite.runti... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:45:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,417 |
EmailConstant | /**
* Title: EmailConstant
*
* <p>Description: Class for store email constants
*
* @author Fan Wang
* @date Jan 29, 2015
*/
public class EmailConstant {
public static String watchedListAdded = "Your Items Have Been Successfully Added ";
public static String watchedListremoved = "Your Items Have Been Successf... | .version 52 0
.class public super EmailConstant
.super java/lang/Object
.field public static watchedListAdded Ljava/lang/String;
.field public static watchedListremoved Ljava/lang/String;
.field public static itemPriceChanged Ljava/lang/String;
.field public static itemBackInStock Ljava/lang/String;
.field publi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:18:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:18:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,418 |
Account | import java.util.Date;
public class Account {
private String username;
private Integer id;
private Date createdDate;
private String email;
private String name;
private String password;
private String updatedDate;
public String getUsername() {
return username;
}
public void setUsername(S... | .version 52 0
.class public super Account
.super java/lang/Object
.field private username Ljava/lang/String;
.field private id Ljava/lang/Integer;
.field private createdDate Ljava/util/Date;
.field private email Ljava/lang/String;
.field private name Ljava/lang/String;
.field private password Ljava/lang/String;... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:37:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:37:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,419 |
ExpandSelectedColumnsOneLevelAction | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author sugang
*/
public class ExpandSelectedColumnsOneLevelAction {}
| .version 52 0
.class public super ExpandSelectedColumnsOneLevelAction
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenum... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:01:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:01:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,420 |
DocTypeDeclRemover | /**
* Copyright (c) 2004, Regents of the University of California All rights reserved.
*
* <p>Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* <p>- Redistributions of source code must retain the above copyright not... | .version 52 0
.class public super DocTypeDeclRemover
.super java/io/BufferedInputStream
.field private firstTime Z
.field private static final BLOCK_SIZE I = 16384
.method public <init> : (Ljava/io/InputStream;)V
.code stack 3 locals 2
L0: aload_0
L1: aload_1
L2: sipush 16384
L5: invokesp... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:34:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:34:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,421 |
WorkbookParserException | /**
* @author uday
*/
public class WorkbookParserException extends Exception {
public WorkbookParserException(String message) {
super(message);
}
}
| .version 52 0
.class public super WorkbookParserException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbe... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:52:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:52:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,422 |
IncomingMessage | import java.util.regex.Pattern;
/**
* Contains an IRC message parsed into its basic components, bundled with a timestamp of the
* approximate time at which it was received.
*
* <p>Immutable class (note: it's important that this be immutable).
*/
public class IncomingMessage {
/** 'prefix' associated with messa... | .version 52 0
.class public super IncomingMessage
.super java/lang/Object
.field private prefix Ljava/lang/String;
.field private nick Ljava/lang/String;
.field private user Ljava/lang/String;
.field private host Ljava/lang/String;
.field private command Ljava/lang/String;
.field private arguments Ljava/lang/St... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:43:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:43:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,423 |
WindowedTimeThrottler | /**
* 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 not... | .version 52 0
.class public super WindowedTimeThrottler
.super java/lang/Object
.field _windowMillis J
.field _maxAmt I
.field _windowStartTime J
.field _windowEvents I
.method public <init> : (Ljava/lang/Number;Ljava/lang/Number;)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:19:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:19:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,424 |
Const | /*
* //******************************************************************
* //
* // Copyright 2016 Samsung Electronics All Rights Reserved.
* //
* //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
* //
* // Licensed under the Apache License, Version 2.0 (the "License");
* // you may not use thi... | .version 52 0
.class public super Const
.super java/lang/Object
.field public static final DEVICE_TABLE Ljava/lang/String; = 'USER_DEVICE'
.field public static final SESSION_TABLE Ljava/lang/String; = 'USER_SESSION'
.field public static final DB_NAME Ljava/lang/String; = 'ACCOUNTSERVER_DB'
.field public static fi... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:57:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:57:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,425 |
DeletePermissionsOptionalParameter | /**
* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See
* License.txt in the project root for license information.
*
* <p>Code generated by Microsoft (R) AutoRest Code Generator.
*/
/** The DeletePermissionsOptionalParameter model. */
public class DeletePermissionsOptio... | .version 52 0
.class public super DeletePermissionsOptionalParameter
.super java/lang/Object
.field private email Ljava/lang/String;
.field private thisclientacceptLanguage Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <i... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:53:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:53:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,426 |
Exercise27 | import java.util.Scanner;
public class Exercise27 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.print("Input a number: ");
int n = scanner.nextInt();
if (n > 0) {
System.out.println("Number is positive");
} else if (n < 0) {
System.ou... | .version 52 0
.class public super Exercise27
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:06:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:06:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,427 |
MailJava | /**
* @author Mateus Henrique Tofanello
*/
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
... | .version 52 0
.class public super MailJava
.super java/lang/Object
.field public static final TYPE_TEXT_PLAIN Ljava/lang/String; = 'text/plain'
.field public static final TYPE_TEXT_HTML Ljava/lang/String; = 'text/html'
.field files Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:37:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:37:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,428 |
DaemonThreadFactory | /*
* Copyright (c) 2010-2012 LinkedIn, 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 agr... | .version 52 0
.class public final super DaemonThreadFactory
.super java/lang/Object
.implements java/util/concurrent/ThreadFactory
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:20:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThread;
import org.junit.runner.Ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:20:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,429 |
HelloWorld | /** Simple Hello World with some functions to test JUNIT */
public class HelloWorld {
public String generateHelloWorld() {
return "HelloWorld";
}
public String runInfinity() {
while (true) {}
}
}
| .version 52 0
.class public super HelloWorld
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:38:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:38:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,430 |
LinkedListPool | /*
Copyright (c) 2013, Jonathan Teutenberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and t... | .version 52 0
.class public super LinkedListPool
.super java/lang/Object
.field private values [Ljava/lang/Object; .fieldattributes
.signature [TA;
.end fieldattributes
.field private nextPrev [I
.field private availableStack [I
.field private stackSize I
.field private stackOrderedTo I
.method public <i... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:28:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:28:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,431 |
Ex6 | public class Ex6 {
int i = 10;
long l = 100;
float f = 10.3333f;
double d = 10.123;
public String toString() {
return String.format("i = %d ,l = %d , f = %.2f ,d= %.2f", i, l, f, d);
}
public static void main(String[] args) {
Ex6 ex6 = new Ex6();
System.out.println(ex6);
}
}
| .version 52 0
.class public super Ex6
.super java/lang/Object
.field i I
.field l J
.field f F
.field d D
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: bipush 10
L7: putfield Field Ex6 i I
L10: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:07:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:07:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,432 |
LongestSubarrayEqualNumber01 | import java.io.*;
import java.math.*;
import java.text.*;
import java.util.*;
import java.util.regex.*;
public class LongestSubarrayEqualNumber01 {
// TIME: O(n); SPACE: O(n)
public static String findLongestSubarray(int[] array) {
Map<Integer, Integer> mapSum = new HashMap<Integer, Integer>();
int sum = ... | .version 52 0
.class public super LongestSubarrayEqualNumber01
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:29:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:29:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,433 |
PiNilakantha | import java.math.BigDecimal;
import java.math.BigInteger;
import java.math.RoundingMode;
public class PiNilakantha {
private static final RoundingMode roundingMode = RoundingMode.HALF_EVEN;
private static final BigInteger TWO = new BigInteger("2");
private static final BigInteger THREE = new BigInteger("3");
... | .version 52 0
.class public super PiNilakantha
.super java/lang/Object
.field private static final roundingMode Ljava/math/RoundingMode;
.field private static final TWO Ljava/math/BigInteger;
.field private static final THREE Ljava/math/BigInteger;
.field private static final FOUR Ljava/math/BigInteger;
.field p... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:14:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:14:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,434 |
LibVlcException | /*****************************************************************************
* LibVlcException.java
*****************************************************************************
* Copyright © 2011-2012 VLC authors and VideoLAN
*
* This program is free software; you can redistribute it and/or modify it
* under t... | .version 52 0
.class public super LibVlcException
.super java/lang/Exception
.field private static final serialVersionUID J = -1909522348226924189L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:30:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:30:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,435 |
UnavailableTopicException | /*
* Copyright 2014 CyberVision, 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 agr... | .version 52 0
.class public super UnavailableTopicException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 21
L4 23
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:29:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:29:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,436 |
Ex32array | import java.util.Random;
public class Ex32array {
public static void main(String[] args) {
// TODO Auto-generated method stub
Random ran = new Random();
int a[][] = new int[5][7];
int a1[][] = new int[7][5];
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 7; j++) {
a[i][j] = ran.... | .version 52 0
.class public super Ex32array
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 17:00:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 17:00:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,437 |
UploadingPausedStateChangedEvent | /*
* Copyright 2013 Chris Banes
*
* 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 ... | .version 52 0
.class public super UploadingPausedStateChangedEvent
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 18
.end linenumber... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:00:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:00:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,438 |
InvalidFileTypeException | import java.io.Serializable;
/**
* This exception is used to demonstrate an exception mapping in the "customExceptionHandler" of
* upload-portlet.xml.
*
* @author Mark Fisher
*/
public class InvalidFileTypeException extends RuntimeException implements Serializable {
public InvalidFileTypeException(String messa... | .version 52 0
.class public super InvalidFileTypeException
.super java/lang/RuntimeException
.implements java/io/Serializable
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:43:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:43:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,439 |
Equipment | /** Class Engineer. Характеристики оборудования. */
public class Equipment {
/** Поле хранит название оборудования. */
private String name;
/**
* Метод устанавливает название оборудования.
*
* @param name **название оборудования**
*/
public void setName(String name) {
this.name = name;
}
... | .version 52 0
.class public super Equipment
.super java/lang/Object
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:49:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:49:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,440 |
Main | /** Hello world! */
public class Main {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
| .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:35:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:35:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,441 |
Microsoft | import java.util.*;
/**
* Online Assessment - May 2021 1. Debugging - Initalize min = arr[0] 2. Given an array of nums,
* determine the final sign of the product of all numbers in the array. 3. Multiple choice questions
* - 8 of them. this was quite time consuming and tricky imo. 4.
* https://leetcode.com/problems... | .version 52 0
.class public super Microsoft
.super java/lang/Object
.field static final synthetic $assertionsDisabled Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:48:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:48:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,442 |
Solution | /** Created by Alan on 11/8/14. */
public class Solution {
public static void main(String[] args) {
System.out.println();
}
public boolean isNumber(String s) {
if (s == null) {
return false;
}
s = s.trim();
int n = s.length();
if (n == 0) {
return false;
}
int sighC... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:28:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:28:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,443 |
Palindromes | import java.util.Scanner;
/** Created by John Tsantilis (i [dot] tsantilis [at] yahoo [dot] com A.K.A lumi) on 4/3/2017. */
public class Palindromes {
public static void main(String[] args) {
int number;
Scanner scanner = new Scanner(System.in);
System.out.printf("Enter a 5 digit number (enter -1 to exi... | .version 52 0
.class public super Palindromes
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:40:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:40:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,444 |
Token | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author icon
*/
public class Token {
private String accType;
private String ClientId;
private String ClientSecret;
pr... | .version 52 0
.class public super Token
.super java/lang/Object
.field private accType Ljava/lang/String;
.field private ClientId Ljava/lang/String;
.field private ClientSecret Ljava/lang/String;
.field private redirectUri Ljava/lang/String;
.field private refreshToken Ljava/lang/String;
.field private inUse Lj... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:38:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:38:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,445 |
AssigningValues | import java.text.MessageFormat;
public class AssigningValues {
public static void main(String[] args) {
int firstValue = 5;
int secondValue;
int thirdValue;
// Using an already declared variable:
secondValue = firstValue;
// The following cascade calling assigns
// 3 to firstValue and th... | .version 52 0
.class public super AssigningValues
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:59:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:59:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,446 |
Production6670 | public class Production6670 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
public String getProperty1() {
return property1;
}
public void setProperty1(String value)... | .version 52 0
.class public super Production6670
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:47:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:47:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,447 |
Engine | public class Engine {}
| .version 52 0
.class public super Engine
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:34:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:34:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,448 |
AccessToken | public class AccessToken {
private String accessToken;
private String tokenType;
public String getAccessToken() {
return accessToken;
}
public String getTokenType() {
// OAuth requires uppercase Authorization HTTP header value for token type
if (!Character.isUpperCase(tokenType.charAt(0))) {
... | .version 52 0
.class public super AccessToken
.super java/lang/Object
.field private accessToken Ljava/lang/String;
.field private tokenType Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:19:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:19:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,449 |
Chromosome | /**
* MegaMek - Copyright (C) 2005 Ben Mazur (bmazur@sev.org)
*
* <p>This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*... | .version 52 0
.class public super Chromosome
.super java/lang/Object
.implements java/lang/Comparable
.field public fitness D
.field public genes [I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:49:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:49:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,450 |
File | /**
* @author dineshkp
*/
public class File {
private String fileOwner;
private Integer size;
private String mimeType;
private String fileName;
private String mainFileName;
/**
* @return the fileOwner
*/
public String getFileOwner() {
return fileOwner;
}
/**
* @return the size
*/
p... | .version 52 0
.class public super File
.super java/lang/Object
.field private fileOwner Ljava/lang/String;
.field private size Ljava/lang/Integer;
.field private mimeType Ljava/lang/String;
.field private fileName Ljava/lang/String;
.field private mainFileName Ljava/lang/String;
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:12:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:12:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,451 |
FourOneTwoException | /*
* Copyright (C) 2015 Simon Vig Therkildsen
*
* 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 ... | .version 52 0
.class public super FourOneTwoException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 22
L4 23
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:28:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:28:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,452 |
DibujoDebug | import java.awt.Color;
import java.awt.Graphics;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.image.BufferedImage;
/** The Class DibujoDebug. */
public class DibujoDebug {
/** The objetos dibujados. */
private static int objetosDibujados = 0;
/**
* Dibujar imagen.
*
* @param g the... | .version 52 0
.class public super DibujoDebug
.super java/lang/Object
.field private static objetosDibujados I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:33:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.Color;
import java.awt.Component;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.a... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:33:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,453 |
Super |
class Super {
int a;
Super(int a) {
this.a = a;
}
void disp() {
System.out.println(" a = " + a);
}
}
class Sub extends Super {
int b;
Sub(int a, int b) {
super(a);
this.b = b;
}
void disp() {
// overriding the method
System.out.println("a = " + a + "\nb = " + b);
}
}
... | .version 52 0
.class super Super
.super java/lang/Object
.field a I
.method <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Super a I
L9: return
L10:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:55:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:55:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,454 |
UnionFindWithPathCompression | public class UnionFindWithPathCompression {
private int size;
private int[] sz;
private int[] id;
private int uniqueGroups;
public UnionFindWithPathCompression(int size) {
this.size = uniqueGroups = size;
sz = new int[size];
id = new int[size];
for (int i = 0; i < size; i++) {
id[i] = ... | .version 52 0
.class public super UnionFindWithPathCompression
.super java/lang/Object
.field private size I
.field private sz [I
.field private id [I
.field private uniqueGroups I
.method public <init> : (I)V
.code stack 4 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:05:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:05:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,455 |
SumAverage | public class SumAverage {
public static void main(String[] args) {
// TODO Auto-generated method stub
double sum = 0.0;
for (int i = 0; i < args.length; i++) {
sum += Double.parseDouble(args[i]);
}
System.out.println("The sum is " + sum);
double avg = sum / (double) args.length;
Sys... | .version 52 0
.class public super SumAverage
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:09:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:09:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,456 |
UsesDistributionMetrics | /*
* 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 ... | .version 52 0
.class public super UsesDistributionMetrics
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:52:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:52:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,457 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:51:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:51:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,458 |
SheetList | import java.util.ArrayList;
public class SheetList extends ArrayList<String> {
private String listName;
public SheetList() {
this.add("Manage List");
this.add("Add List");
this.add("\t");
}
public void addList() {
String n = getName();
this.add(n);
}
public int getSheetListSize() {
... | .version 52 0
.class public super SheetList
.super java/util/ArrayList
.field private listName Ljava/lang/String;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/util/ArrayList <init> ()V
L4: aload_0
L5: ldc 'Manage List'
L7: invokevirtual ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:13:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:13:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,459 |
BaseExportModel | import java.util.List;
import java.util.Map;
/** Created by Administrator on 2014/6/18. */
public class BaseExportModel {
private List<? extends Object> dataList;
private Map<String, String> titleMap;
public List<? extends Object> getDataList() {
return dataList;
}
public void setDataList(List<? extend... | .version 52 0
.class public super BaseExportModel
.super java/lang/Object
.field private dataList Ljava/util/List; .fieldattributes
.signature Ljava/util/List<+Ljava/lang/Object;>;
.end fieldattributes
.field private titleMap Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Lj... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:18:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
import org.evosuite.runtime.EvoRu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:18:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,460 |
SonarSample | public class SonarSample {
public final float[] buf;
public final float rate;
public SonarSample(float[] buf, float rate) {
this.buf = buf;
this.rate = rate;
}
}
| .version 52 0
.class public super SonarSample
.super java/lang/Object
.field public final buf [F
.field public final rate F
.method public <init> : ([FF)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Fiel... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:27:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:27:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,461 |
Solution2 | /*
* Copyright (C) 2015 Imran Mammadli
*
* 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 ... | .version 52 0
.class public super Solution2
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:18:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:18:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,462 |
Weapon | public class Weapon {
int damage;
public Weapon() {
damage = 5;
}
public Weapon(int damage) {
this.damage = damage;
}
public int getDamage() {
return damage;
}
public void setDamage(int damage) {
this.damage = damage;
}
}
| .version 52 0
.class public super Weapon
.super java/lang/Object
.field damage I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_5
L6: putfield Field Weapon damage I
L9: return
L10:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:16:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:16:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,463 |
ConfirmTransType | public class ConfirmTransType {
public static final int NEW = 0;
public static final int REPLACE = 1;
public static final int CANCEL = 2;
}
| .version 52 0
.class public super ConfirmTransType
.super java/lang/Object
.field public static final NEW I = 0
.field public static final REPLACE I = 1
.field public static final CANCEL I = 2
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:46:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:46:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,464 |
PrivateRawTransaction | /*
* Copyright 2019 Web3 Labs LTD.
*
* 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 in w... | .version 52 0
.class public super PrivateRawTransaction
.super java/lang/Object
.field private privateFor Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : (Ljava/util/List;)V
.code stack 2 locals 2
L0: aload_0
L1: in... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:11:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:11:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,465 |
OptimizationFailedException | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author rmuehlba
*/
public class OptimizationFailedException extends Exception {
/** Creates a new instance of <code>Optimi... | .version 52 0
.class public super OptimizationFailedException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 18
L4 19
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:28:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:28:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,466 |
NearestPoint | /**
* Represents the point nearest to some specified data point.
*
* @author chad takahashi
*/
final class NearestPoint {
public int pointIndex;
public double dist;
public int dim;
public String toString() {
return "pointIndex=" + pointIndex + ";dist=" + dist;
}
}
| .version 52 0
.class final super NearestPoint
.super java/lang/Object
.field public pointIndex I
.field public dist D
.field public dim I
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:13:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:13:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,467 |
AbstractDemo | /**
* 抽象方法、抽象类和接口 1.抽象类(类前有关键字stract)不一定含有抽象方法,但是含有抽象方法的类肯定是抽象类 2.抽象类就是为了继承而存在的:
* 对于一个父类,如果它的某个方法在父类中实现出来没有任何意义,必须根据子类的实际需求来进行不同的实现, 那么就可以将这个方法声明为abstract方法,此时这个类也就成为abstract类了。
* 1)抽象方法必须为public或者protected(因为如果为private,则不能被子类继承,子类便无法实现该方法),缺省情况下默认为public。 2)抽象类不能用来创建对象;
* 3)如果一个类继承于一个抽象类,则子类必须实现父类的抽象方法。如果子类没有实现父类... | .version 52 0
.class public super AbstractDemo
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 19
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:50:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:50:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,468 |
MessageSyncFinish | public class MessageSyncFinish {}
| .version 52 0
.class public super MessageSyncFinish
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:59:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:59:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,469 |
ProcessErrorException | public class ProcessErrorException extends Exception {
private static final long serialVersionUID = 1L;
ProcessErrorException() {
super();
}
ProcessErrorException(String message) {
super(message);
}
}
| .version 52 0
.class public super ProcessErrorException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:37:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:37:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,470 |
Runnables | /*
* 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 ... | .version 52 0
.class public super Runnables
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:26:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThread;
import org.junit.runner.Ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:26:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,471 |
Joiner | /**
* A string joiner. Upon being fed a series of string values, it produces a string consisting of the
* given values joined by a separator.
*
* @author Brian DuSell <bdusell@gmail.com>
*/
public class Joiner {
/**
* Initialize the joiner with a separator.
*
* @param sep
*/
public Joiner(String s... | .version 52 0
.class public super Joiner
.super java/lang/Object
.field private _sep Ljava/lang/String;
.field private _buffer Ljava/lang/StringBuilder;
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: alo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:13:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:13:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,472 |
ClumsyFactorial | import java.io.*;
import java.util.*;
class ClumsyFactorial {
public static void main(String[] args) {
System.out.println("=== Clumsy Factorial ===");
Solution solution = new Solution();
int[] input = {4, 10};
for (int N : input) {
System.out.println("input N = " + N + ", clumsy factorial = " ... | .version 52 0
.class super ClumsyFactorial
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end metho... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:14:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:14:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,473 |
TimedComputation | /**
* This program performs some mathematical computations and displays the results. It then reports
* the number of seconds that the computer spent on this task.
*/
public class TimedComputation {
public static void main(String[] args) {
long startTime; // Starting time of program, in milliseconds.
long... | .version 52 0
.class public super TimedComputation
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:35:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.System;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:35:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,474 |
LoggingEvent | /*
* 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... | .version 52 0
.class public super LoggingEvent
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 22
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:43:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:43:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,475 |
MaudeTrazaState | import java.util.HashSet;
import java.util.Set;
public class MaudeTrazaState {
private boolean conditions, mb, eq, rules, select, showWhole, showSubst;
private boolean isEnableTraza;
private Set<String> cjtoOpersSelected;
private Set<String> cjtoModulosExcluidos;
public MaudeTrazaState() {
conditions = ... | .version 52 0
.class public super MaudeTrazaState
.super java/lang/Object
.field private conditions Z
.field private mb Z
.field private eq Z
.field private rules Z
.field private select Z
.field private showWhole Z
.field private showSubst Z
.field private isEnableTraza Z
.field private cjtoOpersSelected Lj... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:39:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:39:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,476 |
Goblin | public class Goblin {}
| .version 52 0
.class public super Goblin
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:51:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:51:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,477 |
XxResource | /**
* 资源对象应该当作是一个独立的对象存在, 资源对象中对任何字段的缓存应该在资源缓存中存在, 这是为了当重新加载资源文件的时候, 处理不必要的缓存问题带来的困扰 1.
* 资源文件应该不涉及任何的业务处理, 只负责资源中属性的转换, 可以将其缓存。并且推荐这样操作
*/
public class XxResource {}
| .version 52 0
.class public super XxResource
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:24:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:24:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,478 |
MapComparator | import java.util.Comparator;
import java.util.Map;
public class MapComparator implements Comparator<Map<String, Object>> {
@Override
public int compare(Map<String, Object> lhs, Map<String, Object> rhs) {
String app1 = (String) ((Map) lhs).get("appName");
String app2 = (String) ((Map) rhs).get("appName");
... | .version 52 0
.class public super MapComparator
.super java/lang/Object
.implements java/util/Comparator
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:42:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:42:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,479 |
KR2RMLColumnNameFormatter | /*******************************************************************************
* Copyright 2014 University of Southern California
*
* 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
*
* ... | .version 52 0
.class public super abstract KR2RMLColumnNameFormatter
.super java/lang/Object
.field protected formattedColumnNames Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.field protected formattingRemovedColumnNames Ljava/util/Map... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:15:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:15:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 148,480 |
MQProtosHelperTest | /**
* @author shijia.wxr<vintage.wang@gmail.com>
*/
public class MQProtosHelperTest {}
| .version 52 0
.class public super MQProtosHelperTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:58:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:58:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,481 |
Playlist | public class Playlist {
public final String name;
public final int id, type;
public Playlist(String name, int id, int type) {
super();
this.name = name;
this.id = id;
this.type = type;
}
public String toString() {
return name;
}
}
| .version 52 0
.class public super Playlist
.super java/lang/Object
.field public final name Ljava/lang/String;
.field public final id I
.field public final type I
.method public <init> : (Ljava/lang/String;II)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:11:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:11:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,482 |
FileUtils | import java.io.File;
/**
* 文件公共类
*
* @author Administrator
*/
public class FileUtils {
/**
* 删除文件
*
* @param path
* @return
*/
public static boolean remove(String path) {
File file = new File(path);
return file.delete();
}
}
| .version 52 0
.class public super FileUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:53:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:53:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,483 |
GBNPacket | import java.nio.ByteBuffer;
/** Reference https://github.com/haochending/Go-Back-N/ */
public class GBNPacket {
private int type;
private int sequenceNumber;
private String data;
public static int ACK_PACKET = 0;
public static int DATA_PACKET = 1;
public static int END_OF_TRANSMISSION_PACKET = 2;
publi... | .version 52 0
.class public super GBNPacket
.super java/lang/Object
.field private type I
.field private sequenceNumber I
.field private data Ljava/lang/String;
.field public static ACK_PACKET I
.field public static DATA_PACKET I
.field public static END_OF_TRANSMISSION_PACKET I
.field public static final SEQU... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:10:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:10:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,484 |
ExcelResultSetMetaDataImpl | /*L
* Copyright Oracle Inc, SAIC-F.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cadsr-bulk-loader/LICENSE.txt for details.
*/
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
public class ExcelResultSetMetaDataImpl implements ResultSetMetaData {
pri... | .version 52 0
.class public super ExcelResultSetMetaDataImpl
.super java/lang/Object
.implements java/sql/ResultSetMetaData
.field private columnNames [Ljava/lang/String;
.field private coltypes [Ljava/lang/String;
.method public <init> : ([Ljava/lang/String;[Ljava/lang/String;)V
.code stack 2 locals 3
L0:... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:35:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.sql.SQLException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:35:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,485 |
InvalidSnippetException | /*
* 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 ... | .version 52 0
.class public super InvalidSnippetException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbe... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:55:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:55:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,486 |
HelloWorld | // http://www.jarticles.com/package/package_eng.html
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}
| .version 52 0
.class public super HelloWorld
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:48:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:48:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,487 |
AD | /** Created by bruce on 2016/12/18. */
public class AD {
private long id;
private String mark;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getMark() {
return mark;
}
public void setMark(String mark) {
this.mark = mark;
}
}
| .version 52 0
.class public super AD
.super java/lang/Object
.field private id J
.field private mark Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:48:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:48:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,488 |
StopWords | import java.io.*;
import java.util.*;
public class StopWords {
private static String OUTPUT_FILE = "YOUR_FILE_LOCATION";
public static Boolean searchForStopWord(String word, List<String> textForCheck) {
int indexOfWord = Collections.binarySearch(textForCheck, word);
if (indexOfWord < 0) return false;
... | .version 52 0
.class public super StopWords
.super java/lang/Object
.field private static OUTPUT_FILE Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:02:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import java.util.List;
import java.util.NoSuchElementException;
import org.evosuite.runt... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:02:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,489 |
StringUtil | /*
* Copyright 2009 Red Hat, Inc.
*
* Red Hat licenses this file to you 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 ... | .version 52 0
.class public super StringUtil
.super java/lang/Object
.field public static final NEWLINE Ljava/lang/String;
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:01:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:01:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,490 |
SimpleStringTemplate | import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
public class SimpleStringTemplate {
private static String rootDir = "./SST/";
private String content = "";
public SimpleStringTemplate(String fileName) throws IOException {
File file = new File(rootDi... | .version 52 0
.class public super SimpleStringTemplate
.super java/lang/Object
.field private static rootDir Ljava/lang/String;
.field private content Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 5 locals 6
L0: aload_0
L1: invokespecial Method java/lang/Object <init>... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:47:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.EvoSuiteFile;
import org.evosuite.runtime.te... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:47:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,491 |
Inputs | import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
public class Inputs {
public static byte[] readAll(InputStream in) throws IOException {
byte[] buf = new byte[1024 * 8];
try (ByteArrayOutputStream bos = new ByteArrayOutputStream()) {
int len;
while ((... | .version 52 0
.class public super Inputs
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:29:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.IOExcept... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:29:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,492 |
TooMuchWhitespaceAfterEquals | // test case
public class TooMuchWhitespaceAfterEquals {
public void someFunction() {
if (!true == false) {
/*do nothing, this is just a test*/
}
}
}
| .version 52 0
.class public super TooMuchWhitespaceAfterEquals
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:31:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:31:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,493 |
SysUserProductRef | import java.io.Serializable;
import java.util.Date;
/** 类描述 User: chenggangxu@sohu-inc.com Date: 2014/7/30 Time: 11:05 */
public class SysUserProductRef implements Serializable {
private static final long serialVersionUID = -5790231504663879253L;
private Long id;
private Long userId;
private Long productId;
... | .version 52 0
.class public super SysUserProductRef
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -5790231504663879253L
.field private id Ljava/lang/Long;
.field private userId Ljava/lang/Long;
.field private productId Ljava/lang/Long;
.field private c... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:51:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:51:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,494 |
JDBCTypeMap | import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.sql.Types;
import java.util.concurrent.ConcurrentHashMap;
public class JDBCTypeMap {
private static JDBCTypeMap instance = new JDBCTypeMap();
private final ConcurrentHashMap<Integer, String> typeMap =
new ConcurrentHashMap<Integer... | .version 52 0
.class public super JDBCTypeMap
.super java/lang/Object
.field private static instance LJDBCTypeMap;
.field private final typeMap Ljava/util/concurrent/ConcurrentHashMap; .fieldattributes
.signature Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/Integer;Ljava/lang/String;>;
.end fieldattribu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:18:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:18:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,495 |
App1 | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.sql.Statement;
public class App1 {
public static void main(String[] args) {
String url = "jdbc:sqlite:../Wiki/Databases/test.sqlite3";
try (Conne... | .version 52 0
.class public super App1
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:47:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:47:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,496 |
CortanaType | /** Created by mahes on 12/8/15. */
public class CortanaType {
public static final int LISTEN_TYPE = 0;
public static final int SPEAK_TYPE = 1;
public static final int REMIND_TYPE = 2;
public static final int OPTIMISTIC_TYPE = 3;
public static final int REMIND_2_TYPE = 4;
public static final int COOL_TYPE ... | .version 52 0
.class public super CortanaType
.super java/lang/Object
.field public static final LISTEN_TYPE I = 0
.field public static final SPEAK_TYPE I = 1
.field public static final REMIND_TYPE I = 2
.field public static final OPTIMISTIC_TYPE I = 3
.field public static final REMIND_2_TYPE I = 4
.field publi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:06:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:06:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,497 |
TemplateSettings | import java.util.LinkedHashMap;
import java.util.Map;
/**
* The type Template settings.
*
* @author Sergey Timofiychuk
*/
public class TemplateSettings {
private Map<String, String> classTemplates = new LinkedHashMap<>();
private Map<String, String> fieldTemplates = new LinkedHashMap<>();
private Map<String... | .version 52 0
.class public super TemplateSettings
.super java/lang/Object
.field private classTemplates Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.field private fieldTemplates Ljava/util/Map; .fieldattributes
.signature Ljava/u... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:02:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:02:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,498 |
EmbeddedSocketAddress | /*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | .version 52 0
.class final super EmbeddedSocketAddress
.super java/net/SocketAddress
.field private static final serialVersionUID J = 1400788804624980619L
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/net/SocketAddress <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:01:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:01:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 148,499 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.