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 |
|---|---|---|---|---|---|
Address | public class Address {
private String street;
private String number;
private String postalCode;
private String city;
private String country;
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
public String getNumber() {
return ... | .version 52 0
.class public super Address
.super java/lang/Object
.field private street Ljava/lang/String;
.field private number Ljava/lang/String;
.field private postalCode Ljava/lang/String;
.field private city Ljava/lang/String;
.field private country Ljava/lang/String;
.method public <init> : ()V
.cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:35: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
* Fri Jul 01 05:35: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,300 |
GameLoop | public abstract class GameLoop {
private int targetFps = 60;
private int nanoFps = 1000000000 / targetFps;
private int targetUps = 60;
private int nanoUps = 1000000000 / targetUps;
private boolean running = true;
public void set(int targetFps, int targetUps) {
this.targetFps = targetFps;
this.targe... | .version 52 0
.class public super abstract GameLoop
.super java/lang/Object
.field private targetFps I
.field private nanoFps I
.field private targetUps I
.field private nanoUps I
.field private running Z
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method jav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:09: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
* Fri Jul 01 22:09:48 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,301 |
Track | public class Track {
private final String name;
private final int length;
public Track(String name, int length) {
this.name = name;
this.length = length;
}
@Override
public String toString() {
return "Track{" + "length=" + length + ", name='" + name + '\'' + '}';
}
public int getLength(... | .version 52 0
.class public super Track
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private final length I
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:45: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
* Sat Jul 02 05:45: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,302 |
RankDouble | public class RankDouble {
public static void Rank(double[] genes) {
quickSort(genes);
}
private static void quickSort(double[] array) {
quickSort(array, 0, array.length - 1);
}
private static void quickSort(double[] array, int low, int high) {
if (low < high) {
int p = partition(array, low... | .version 52 0
.class public super RankDouble
.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
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:17: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
* Mon Jul 04 14:17: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,303 |
Tag | /***
*
* @author damato
* Por favor usar por default este tag en cualquier Log que quieran colocar
*
*/
public class Tag {
public static final String _TAG = "gmaTag";
}
| .version 52 0
.class public super Tag
.super java/lang/Object
.field public static final _TAG Ljava/lang/String; = 'gmaTag'
.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 02:35: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 02:35: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,304 |
LargeArrayFloat | /*
* Copyright 2006-2021 The MZmine Development Team
*
* This file is part of MZmine.
*
* MZmine 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 ... | .version 52 0
.class public super LargeArrayFloat
.super java/lang/Object
.field private logger Ljava/util/logging/Logger;
.field private VERBOSE Z
.field private final CHUNK_SIZE J = 1073741824L
.field size J
.field data [[F
.method public <init> : (J)V
.code stack 6 locals 6
L0: aload_0
L1: in... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:51:25 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 02:51: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,305 |
Supermarket | /** Created by marta.rodriguez on 28/05/14. */
public class Supermarket {
private int id;
private String town;
private String address;
private String cp;
private String hours;
private String comments;
public Supermarket() {}
public String getComments() {
return comments;
}
public void setCom... | .version 52 0
.class public super Supermarket
.super java/lang/Object
.field private id I
.field private town Ljava/lang/String;
.field private address Ljava/lang/String;
.field private cp Ljava/lang/String;
.field private hours Ljava/lang/String;
.field private comments Ljava/lang/String;
.method public <ini... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:57: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 00:57: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,306 |
JDBCTransactionStoreConfig | /**
* 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 JDBCTransactionStoreConfig
.super java/lang/Object
.field private jdbcDriverClass Ljava/lang/String;
.field private jdbcURL Ljava/lang/String;
.field private jdbcUser Ljava/lang/String;
.field private jdbcPassword Ljava/lang/String;
.method public <init> : ()V
.code stack ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:29: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 06:29: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,307 |
Printer | // https://www.hackerrank.com/challenges/java-generics
class Printer {
// Write your code here
void printArray(Object[] test) {
for (int x = 0; x < test.length; x++) {
System.out.println(test[x]);
}
}
}
| .version 52 0
.class super Printer
.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 2
.end linenumbertable
.end code
.end method
.met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:33: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 01:33: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,308 |
JavaCharStream | /* Generated By:JavaCC: Do not edit this line. JavaCharStream.java Version 3.0 */
/**
* An implementation of interface CharStream, where the stream is assumed to contain only ASCII
* characters (with java-like unicode escape processing).
*/
public class JavaCharStream {
public static final boolean staticFlag = fa... | .version 52 0
.class public super JavaCharStream
.super java/lang/Object
.field public static final staticFlag Z = 0
.field public bufpos I
.field bufsize I
.field available I
.field tokenBegin I
.field protected bufline [I
.field protected bufcolumn [I
.field protected column I
.field protected line I
.fie... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:19:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.FileDescriptor;
import java.io.FileNotFoundException;
import java... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:19: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,309 |
PageBean | import java.util.Collection;
// service 根据 queryReslut 生成 pageBean
public class PageBean {
// 分页显示的记录
private Collection<Object> beanCol;
// 总记录数
private int totalrecord;
// 页面大小
private int pagesize;
// 总页数
private int totalpage;
// 当前页
private int currentpage;
// 上一页
private int previouspa... | .version 52 0
.class public super PageBean
.super java/lang/Object
.field private beanCol Ljava/util/Collection; .fieldattributes
.signature Ljava/util/Collection<Ljava/lang/Object;>;
.end fieldattributes
.field private totalrecord I
.field private pagesize I
.field private totalpage I
.field private curre... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:21:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:21: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,310 |
SqlHelper | /** all operations to database : crud */
import java.sql.*;
import java.util.*;
public class SqlHelper {
PreparedStatement ps = null;
Connection ct = null;
ResultSet rs = null;
String driverName = "com.mysql.jdbc.Driver";
String url = "jdbc:mysql://127.0.0.1:3306/pcmsystem?useUnicode=true&characterEncoding=... | .version 52 0
.class public super SqlHelper
.super java/lang/Object
.field ps Ljava/sql/PreparedStatement;
.field ct Ljava/sql/Connection;
.field rs Ljava/sql/ResultSet;
.field driverName Ljava/lang/String;
.field url Ljava/lang/String;
.field user Ljava/lang/String;
.field password Ljava/lang/String;
.metho... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:37:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.ResultSet;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.c... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:37: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,311 |
CMSException | public class CMSException extends Exception {
Exception e;
public CMSException(String msg) {
super(msg);
}
public CMSException(String msg, Exception e) {
super(msg);
this.e = e;
}
public Exception getUnderlyingException() {
return e;
}
public Throwable getCause() {
return e;
}... | .version 52 0
.class public super CMSException
.super java/lang/Exception
.field e Ljava/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: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:08: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 04:08: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,312 |
Predicates | /*
* Copyright (C) 2018 Matthias Fussenegger
*
* 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 3 of the License, or (at your option) any later
* version.
*
* This program ... | .version 52 0
.class public final super Predicates
.super java/lang/Object
.method private <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: new java/lang/AssertionError
L7: dup
L8: ldc 'Holds static members only'
L10: invokesp... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:03:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.function.Predicate;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(E... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:03:12 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,313 |
Util | import java.util.Scanner;
public class Util {
public static int[] nextIntArray(Scanner in, int n) {
int[] r = new int[n];
for (int i = 0; i < n; i++) {
r[i] = in.nextInt();
}
return r;
}
}
| .version 52 0
.class public super Util
.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
.end me... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:27:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.nio.CharBuffer;
import java.util.Scanner;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.Run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:27: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,314 |
CustomEffectType | public class CustomEffectType {
public static final int Bleeding = 1;
public static final int InfectionOverTime = 2;
}
| .version 52 0
.class public super CustomEffectType
.super java/lang/Object
.field public static final Bleeding I = 1
.field public static final InfectionOverTime I = 2
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:37: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
* Mon Jul 04 13:37: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,315 |
NameSpace | import java.util.HashMap;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Represents a name space, where the most recent definitions of variables are stored.
*
* @author Joakim Bruce
*/
public final class NameSpace implements Cloneable {
private static final Logger LOGGER = Logger.getLogge... | .version 52 0
.class public final super NameSpace
.super java/lang/Object
.implements java/lang/Cloneable
.field private static final LOGGER Ljava/util/logging/Logger;
.field private mVariableRepository Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:31:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:31: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,316 |
Solution | import java.util.Scanner;
/**
* Created by jsong on 02/03/2017.
*
* <p>hackerrank : https://www.hackerrank.com/jsong00505 github : https://github.com/jsong00505
* linkedin : https://www.linkedin.com/in/junesongskorea/ email : jsong00505@gmail.com
*
* <p>challenge : Day 2: Operators
*/
public class Solution {
... | .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 15
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:21:00 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
* Sun Jul 03 20:21: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,317 |
Sentence | import java.text.ParseException;
import java.util.*;
class Sentence {
private String sentence;
private String fields[];
private byte checksum;
private boolean hasChecksum;
Sentence(String s) throws ParseException {
sentence = s;
s.trim();
chopSentence();
for (int i = 0; i < fields.length; i... | .version 52 0
.class super Sentence
.super java/lang/Object
.field private sentence Ljava/lang/String;
.field private fields [Ljava/lang/String;
.field private checksum B
.field private hasChecksum Z
.method <init> : (Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:22:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.text.ParseException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParamete... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:22: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,318 |
EstadoDevolucionEnum | /** */
/**
* @author <a href="mailto:elmerdiazlazo@gmail.com">Elmer Jose Diaz Lazo</a>
* @project rentavoz3
* @class EstadoDevolucionEnum
* @date 6/03/2014
*/
public enum EstadoDevolucionEnum {
PENDIENTE,
REALIZADA
}
| .version 52 0
.class public final super enum EstadoDevolucionEnum
.super java/lang/Enum
.field public static final enum PENDIENTE LEstadoDevolucionEnum;
.field public static final enum REALIZADA LEstadoDevolucionEnum;
.field private static final synthetic $VALUES [LEstadoDevolucionEnum;
.method public static val... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:11:42 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 02:11:42 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,319 |
MockManagedObject | /*
* 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")... | .version 52 0
.class public super MockManagedObject
.super java/lang/Object
.field private static logger Ljava/util/logging/Logger;
.field private something Ljava/lang/String;
.field private somethingElse I
.field private avail Z
.method public getSomething : ()Ljava/lang/String;
.code stack 4 locals 1
L0... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:05: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
* Fri Jul 01 04:05: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,320 |
DataCheck | /**
* 数据检查 Sloop 创建于 2015/10/21.
*
* <ul type="disc">
* <li><a href="http://www.sloop.icoc.cc" target="_blank">作者网站</a>
* <li><a href="http://weibo.com/5459430586" target="_blank">作者微博</a>
* <li><a href="https://github.com/GcsSloop" target="_blank">作者GitHub</a>
* </ul>
*/
public class DataCheck {
/**
... | .version 52 0
.class public super DataCheck
.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 12
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:00: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 15:00: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,321 |
Candy | /**
* There are N children standing in a line. Each child is assigned a rating value.
*
* <p>You are giving candies to these children subjected to the following requirements:
*
* <p>Each child must have at least one candy. Children with a higher rating get more candies than
* their neighbors. What is the minimum ... | .version 52 0
.class super Candy
.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 16
.end linenumbertable
.end code
.end method
.meth... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:20:08 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 17:20: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,322 |
AgentChatSession | /**
* $Revision$ $Date$
*
* <p>Copyright 2003-2007 Jive Software.
*
* <p>All rights reserved. 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
*
* <p>http://www.apache.org/licenses/LICENSE-2... | .version 52 0
.class public super AgentChatSession
.super java/lang/Object
.field public startDate Ljava/util/Date;
.field public duration J
.field public visitorsName Ljava/lang/String;
.field public visitorsEmail Ljava/lang/String;
.field public sessionID Ljava/lang/String;
.field public question Ljava/lang/S... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:53:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:53: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,323 |
WarningMail | /**
* @author liubo
* @email liubo@yidian-inc.com
*/
public class WarningMail implements Comparable<WarningMail> {
private String msg;
private Throwable detail; // ?
private String detailMsg;
private int priority = 0;
public WarningMail(String msg) {
this.msg = msg;
}
public WarningMail(Strin... | .version 52 0
.class public super WarningMail
.super java/lang/Object
.implements java/lang/Comparable
.field private msg Ljava/lang/String;
.field private detail Ljava/lang/Throwable;
.field private detailMsg Ljava/lang/String;
.field private priority I
.method public <init> : (Ljava/lang/String;)V
.code... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:45:48 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:45: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,324 |
JadeWorkflowDTO | /**
* 流程流转信息 - DTO
*
* @author liuhw
* @created 2016-08-25
*/
public class JadeWorkflowDTO {
private Long flowInstanceOid; // 流程实例ID
private String flowNode; // 环节名称
private Long flowNodeOid; // 流程环节OID
public Long getFlowInstanceOid() {
return flowInstanceOid;
}
public void setFlowInstanceOid(Lo... | .version 52 0
.class public super JadeWorkflowDTO
.super java/lang/Object
.field private flowInstanceOid Ljava/lang/Long;
.field private flowNode Ljava/lang/String;
.field private flowNodeOid Ljava/lang/Long;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:07: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 00:07: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,325 |
MContent | public class MContent {
private int id;
private int parentid;
private String title;
private String image;
private String summary;
private String fileName;
public MContent(int id, String title, String urlImage, String summary, String fileName) {
this.id = id;
this.title = title;
this.imag... | .version 52 0
.class public super MContent
.super java/lang/Object
.field private id I
.field private parentid I
.field private title Ljava/lang/String;
.field private image Ljava/lang/String;
.field private summary Ljava/lang/String;
.field private fileName Ljava/lang/String;
.method public <init> : (ILjava/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:29:28 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:29: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,326 |
ArrayHelper | /*
* Copyright (c) 2016.
* This file is part of OFlib.
*
* OFlib 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.
*
* OFlib is ... | .version 52 0
.class public super ArrayHelper
.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
* Mon Jul 04 03:19:49 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:19: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,327 |
CatalogHelper | /**
* 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 final super CatalogHelper
.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 28
L4 29
.end lin... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:15:53 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.DataInpu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:15: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,328 |
Solution1 | /** Created by hiwhitley on 2016/8/6. */
public class Solution1 {
public static int JumpFloor(int target) {
int a = 1, b = 1, c = 0;
if (target < 2) {
return target;
}
for (int i = 2; i <= target; i++) {
c = a + b;
a = b;
b = c;
}
return c;
}
public static void m... | .version 52 0
.class public super Solution1
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:35: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
* Sat Jul 02 09:35: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,329 |
SecurityQuestionAnswerDTO | /**
* Copyright (c) 2010-2019 Evolveum and contributors
*
* <p>This work is dual-licensed under the Apache License 2.0 and European Union Public License. See
* LICENSE file for details.
*/
import java.io.Serializable;
public class SecurityQuestionAnswerDTO implements Serializable {
public static final String F... | .version 52 0
.class public super SecurityQuestionAnswerDTO
.super java/lang/Object
.implements java/io/Serializable
.field public static final F_PASSWORD_QUESTION_IDENTIFIER Ljava/lang/String; = 'passwQuestionIdentifier'
.field public static final F_PASSWORD_QUESTION_ANSWER Ljava/lang/String; = 'passwAnswer'
.fi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:04: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
* Fri Jul 01 09:04: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,330 |
ServiceRecordData | import java.io.Serializable;
/** Created by xuebing on 15/10/29. */
public class ServiceRecordData implements Serializable {
// svrid:服务id
// logo:品牌logo
// branch:门店名称
// pic:项目图片
// name:项目名称
// time:服务时间
private String svrid;
private String logo;
private String branch;
privat... | .version 52 0
.class public super ServiceRecordData
.super java/lang/Object
.implements java/io/Serializable
.field private svrid Ljava/lang/String;
.field private logo Ljava/lang/String;
.field private branch Ljava/lang/String;
.field private pic Ljava/lang/String;
.field private name Ljava/lang/String;
.fiel... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:02: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 09:02: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,331 |
A9 | public class A9 {
public static void a0(String msg) {
System.out.println("msg=" + msg + 0);
}
public static void a1(String msg) {
System.out.println("msg=" + msg + 1);
}
public static void a2(String msg) {
System.out.println("msg=" + msg + 2);
}
public static void a3(String msg) {
Syste... | .version 52 0
.class public super A9
.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 meth... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:22: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
* Sat Jul 02 01:22: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,332 |
InvalidSkinSizeException | /*
* SkinSwitch - InvalidSkinSizeException
* Copyright (C) 2014-2015 Baptiste Candellier
*
* 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 3 of the License, or
* (at your ... | .version 52 0
.class public super InvalidSkinSizeException
.super java/lang/Exception
.field private final width I
.field private final height I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: aload_0
L5: iload_1... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:25: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
* Sat Jul 02 07:25: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,333 |
ClientInitException | /*
* Copyright 2018 ImpactDevelopment
*
* 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 agre... | .version 52 0
.class public final super ClientInitException
.super java/lang/RuntimeException
.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/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11: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
* Sat Jul 02 11: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,334 |
Province | /** Created by 11603 on 2016/11/5. */
public class Province {
private int id;
private String provinceName;
private String provinceCode;
public int getId() {
return id;
}
public String getProvinceName() {
return provinceName;
}
public String getProvinceCode() {
return provinceCode;
}
... | .version 52 0
.class public super Province
.super java/lang/Object
.field private id I
.field private provinceName Ljava/lang/String;
.field private provinceCode Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:30: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
* Mon Jul 04 13:30: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,335 |
KeyedData | import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.SortedSet;
public class KeyedData {
private SortedSet<String> keyNames;
private Map<String, Double> data;
public KeyedData(SortedSet<String> keyNames) {
this.keyNames = keyNames;
this.da... | .version 52 0
.class public super KeyedData
.super java/lang/Object
.field private keyNames Ljava/util/SortedSet; .fieldattributes
.signature Ljava/util/SortedSet<Ljava/lang/String;>;
.end fieldattributes
.field private data Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Lja... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:44:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.List;
import java.util.TreeSet;
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
* Sun Jul 03 22:44: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,336 |
AddParamMap | import java.util.HashMap;
public class AddParamMap extends HashMap<String, Object> {
private static final long serialVersionUID = 5736555920514900959L;
public boolean containsKey(Object key) {
key = ((String) key).toLowerCase();
return super.containsKey(key);
}
public Object get(Object key) {
ke... | .version 52 0
.class public super AddParamMap
.super java/util/HashMap
.field private static final serialVersionUID J = 5736555920514900959L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/util/HashMap <init> ()V
L4: return
L5:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:33:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.util.function.BiFunction;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunn... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:33: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,337 |
InputLineLengthLongPackageStatement | /*
LineLength
fileExtensions = (default)all files
ignorePattern = (default)^(package|import) .*
max = (default)80
*/
// non-compiled with javac: contains different
public class InputLineLengthLongPackageStatement {
@Override
public String toString() {
return "This is very long line that should be logged bec... | .version 52 0
.class public super InputLineLengthLongPackageStatement
.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 12
.end linenum... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:33: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 21:33: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,338 |
ByteBufferOutputStream | /*
* 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 ByteBufferOutputStream
.super java/io/OutputStream
.field private static final REALLOCATION_FACTOR F = +1.100000023841858f
.field private buffer Ljava/nio/ByteBuffer;
.method public <init> : (Ljava/nio/ByteBuffer;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespec... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:42:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.ByteBuffer;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:42: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,339 |
PropertiesUtil | /** Created by Gustavo on 25/11/2015. */
public class PropertiesUtil {
public static long getLongProperty(String key, long defaultValue) {
return Long.parseLong(System.getProperty(key, String.valueOf(defaultValue)));
}
}
| .version 52 0
.class public super PropertiesUtil
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:43: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
* Mon Jul 04 15:43: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,340 |
DaemonConfiguration | /**
* Copyright 2014, 2015, 2016, 2017 TAIN, Inc. all rights reserved.
*
* <p>Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007 (the "License"); you
* may not use this file except in compliance with the License. You may obtain a copy of the License
* at
*
* <p>http://www.gnu.org/licenses/
*... | .version 52 0
.class public final super DaemonConfiguration
.super java/lang/Object
.field protected static final DEFAULT_CONFIG Ljava/lang/String; = 'daemon.properties'
.field protected static final PREFIX Ljava/lang/String; = 'daemon.'
.field protected static final BTOKEN Ljava/lang/String; = '${'
.field protec... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:03:33 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:03:33 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,341 |
ClippingHelper | public class ClippingHelper {
public float[][] frustum = new float[16][16];
public float[] projectionMatrix = new float[16];
public float[] modelviewMatrix = new float[16];
public float[] clippingMatrix = new float[16];
public boolean isBoxInFrustum(
double var1, double var3, double var5, double var7,... | .version 52 0
.class public super ClippingHelper
.super java/lang/Object
.field public frustum [[F
.field public projectionMatrix [F
.field public modelviewMatrix [F
.field public clippingMatrix [F
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/O... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:44:33 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 15:44:33 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,342 |
ArraySort | /**
* Class ArraySort.
*
* @author Dmitrij Gribovskij @ since 07.12.2016
*/
public class ArraySort {
/**
* This method sorting two arrays.
*
* @param arrayFirst - array first
* @param arraySecond - array second
* @return - values
*/
public int[] sort(int[] arrayFirst, int[] arraySecond) {
... | .version 52 0
.class public super ArraySort
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:11: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 16:11: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,343 |
DBProgramDebugProcessStatus | /*
* Copyright 2012-2014 Dan Cioca
*
* 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 i... | .version 52 0
.class public super DBProgramDebugProcessStatus
.super java/lang/Object
.field public CAN_SET_BREAKPOINTS Z
.field public TARGET_EXECUTION_TERMINATED Z
.field public PROCESS_IS_TERMINATING Z
.field public PROCESS_STOPPED_NORMALLY Z
.field public PROCESS_IS_TERMINATED Z
.method public <init> : ()V... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:28: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 20:28: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,344 |
MsgDialog | /*
* ################################################################
*
* ProActive Parallel Suite(TM): The Java(TM) library for
* Parallel, Distributed, Multi-Core Computing for
* Enterprise Grids & Clouds
*
* Copyright (C) 1997-2012 INRIA/University of
* Nice-Sophia Antipolis/ActiveEon
... | .version 52 0
.class public super MsgDialog
.super java/awt/Dialog
.implements java/awt/event/ActionListener
.field private static final serialVersionUID J = 54L
.field private bOk Ljava/awt/Button;
.method public <init> : (Ljava/awt/Frame;Ljava/lang/String;Ljava/lang/String;)V
.code stack 6 locals 5
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:22:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.Frame;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:22: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,345 |
User | public class User {
private String role;
private String email;
private String password;
private String token;
public String getRole() {
return role;
}
public void setRole(String role) {
this.role = role;
}
public String getEmail() {
return email;
}
public void setEmail(String email... | .version 52 0
.class public super User
.super java/lang/Object
.field private role Ljava/lang/String;
.field private email Ljava/lang/String;
.field private password Ljava/lang/String;
.field private token Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invok... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:20: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 22:20: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,346 |
Context | import java.util.Hashtable;
/**
* Title:
*
* <p>Description:
*
* <p>Copyright: Copyright (c) 2002
*
* <p>Company:
*
* @author unascribed
* @version 1.0
*/
class Context {
static Hashtable<Object, Object> hash = new Hashtable<Object, Object>();
public static Object get(Object key) {
return hash.get... | .version 52 0
.class super Context
.super java/lang/Object
.field static hash Ljava/util/Hashtable; .fieldattributes
.signature Ljava/util/Hashtable<Ljava/lang/Object;Ljava/lang/Object;>;
.end fieldattributes
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:59: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
* Sat Jul 02 12:59: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,347 |
Solution | import java.io.InputStream;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Scanner;
public final class Solution {
public static void main(String[] args) {
parseSolveAndPrint(System.in, System.out);
}
public static void parseSolveAndPrint(InputStream in, P... | .version 52 0
.class public final 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 9
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:45:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.PushbackInputStream;
import java.util.NoSuchElementException;
imp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:45:05 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,348 |
KuaiYongSDKInfo | public class KuaiYongSDKInfo {
private String requestUrl;
private String appKey;
private String pubKey;
public String getRequestUrl() {
return requestUrl;
}
public void setRequestUrl(String requestUrl) {
this.requestUrl = requestUrl;
}
public String getAppKey() {
return appKey;
}
pu... | .version 52 0
.class public super KuaiYongSDKInfo
.super java/lang/Object
.field private requestUrl Ljava/lang/String;
.field private appKey Ljava/lang/String;
.field private pubKey Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:45: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
* Sat Jul 02 13:45: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,349 |
DragonSlayerQuest | /**
* Eclipse Public License - v 1.0
*
* <p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S
* ACCEPTANCE OF THIS AGREEMENT.
*
* <p>1. DEFINITIONS
*
* <p>"Contribution" means:
*
* ... | .version 52 0
.class public super DragonSlayerQuest
.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 135
.end linenumbertable
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:50:38 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 15:50:38 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,350 |
RoutePoint | public class RoutePoint {
public double latitude;
public double longitude;
public RoutePoint(double lat, double lng) {
this.latitude = lat;
this.longitude = lng;
}
}
| .version 52 0
.class public super RoutePoint
.super java/lang/Object
.field public latitude D
.field public longitude D
.method public <init> : (DD)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Rou... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:44:14 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:44:14 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,351 |
XmppNamespace | /**
* Copyright 2009 Google Inc.
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed ... | .version 52 0
.class final super XmppNamespace
.super java/lang/Object
.field static final NAMESPACE_XMPP_RECEIPTS Ljava/lang/String; = 'urn:xmpp:receipts'
.field static final NAMESPACE_DISCO_INFO Ljava/lang/String; = 'http://jabber.org/protocol/disco#info'
.field static final NAMESPACE_DISCO_ITEMS Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:07:19 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 03:07:19 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,352 |
GraphQLOperation | /*******************************************************************************
* Copyright (c) 2019 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is a... | .version 52 0
.class public super GraphQLOperation
.super java/lang/Object
.field private query Ljava/lang/String;
.field private variables Ljava/lang/String;
.field private operationName Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method jav... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:20: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
* Sat Jul 02 09:20: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,353 |
Department | public class Department {
private Integer id;
private String departmentName;
public Department() {
// TODO Auto-generated constructor stub
}
public Department(int i, String string) {
this.id = i;
this.departmentName = string;
}
public Integer getId() {
return id;
}
public void set... | .version 52 0
.class public super Department
.super java/lang/Object
.field private id Ljava/lang/Integer;
.field private departmentName 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
* Sun Jul 03 23:04: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
* Sun Jul 03 23:04: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,354 |
Quote | /*
* Copyright 2014 The FIX.io Project
*
* The FIX.io 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:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | .version 52 0
.class public super Quote
.super java/lang/Object
.field private final bid D
.field private final offer D
.method public <init> : (DD)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Quo... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:08:05 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:08:05 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,355 |
Diagraph | import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
/** */
public class Diagraph {
/** no of vertices */
private int V;
/** no of edges */
private int E;
private List[] edges;
public Diagraph(int v) {
init(v);
}
private void init(int v) {
V = v;
edges = new Link... | .version 52 0
.class public super Diagraph
.super java/lang/Object
.field private V I
.field private E I
.field private edges [Ljava/util/List;
.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_1
L6... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:25:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.InputMismatchException;
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
* Sat Jul 02 05:25: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,356 |
ConversionFailedException | /*
* This file is part of WeenyConsole <http://www.orfjackal.net/>
*
* Copyright (c) 2007-2008, Esko Luontola. 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 so... | .version 52 0
.class public super ConversionFailedException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;Ljava/lang/Class;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokestatic Method ConversionFailedException messageFor (Ljava/lang/String;Lj... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:24: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 23:24: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,357 |
practica | /*
* 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.
*/
import java.util.ArrayList;
import java.util.regex.Pattern;
/**
* @author dark
*/
public class practica {
/**
* @param args t... | .version 52 0
.class public super practica
.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 16
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:32: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 07:32: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,358 |
ElevatorCarConfiguration | /**
* Represents a configuration for an elevator car
*
* @author Anton Jansson and Kristoffer Uggla Lingvall
*/
public class ElevatorCarConfiguration {
private final int capacity;
private final double floorTime;
private final double stopTime;
private final double startTime;
private final double doorTime;
... | .version 52 0
.class public super ElevatorCarConfiguration
.super java/lang/Object
.field private final capacity I
.field private final floorTime D
.field private final stopTime D
.field private final startTime D
.field private final doorTime D
.field private static final DEFAULT_CONFIGURATION LElevatorCarConfi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:57: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 02:57: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,359 |
Address | /** Created by xuliufeng on 2015/12/20. */
public class Address {
private String area;
private String city;
private String state;
private String country;
private int pincode;
public String getArea() {
return area;
}
public void setArea(String area) {
this.area = area;
}
public String getC... | .version 52 0
.class public super Address
.super java/lang/Object
.field private area Ljava/lang/String;
.field private city Ljava/lang/String;
.field private state Ljava/lang/String;
.field private country Ljava/lang/String;
.field private pincode I
.method public <init> : ()V
.code stack 1 locals 1
L0:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:33:28 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 16:33: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,360 |
Registration | import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
/**
* Registration
*
* @author Panzer1119
*/
public abstract class Registration {
private static final ArrayList<Registration> OBJECTS = new ArrayList<>();
protected static boolean isOBJECTSPublic = true;
public final boolean... | .version 52 0
.class public super abstract Registration
.super java/lang/Object
.field private static final OBJECTS Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<LRegistration;>;
.end fieldattributes
.field protected static isOBJECTSPublic Z
.method public <init> : ()V
.code st... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:05:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
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
* Sat Jul 02 03:05: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,361 |
Login | import java.io.Serializable;
public class Login implements Serializable {
private String name;
private String pass;
private boolean registered; // If true, client is already registered
public Login(String name_, String pass_, boolean registered_) {
name = name_;
pass = pass_;
registered = registe... | .version 52 0
.class public super Login
.super java/lang/Object
.implements java/io/Serializable
.field private name Ljava/lang/String;
.field private pass Ljava/lang/String;
.field private registered Z
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Z)V
.code stack 2 locals 4
L0: aload_0... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:15:05 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:15:05 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,362 |
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
* Sat Jul 02 07:03:28 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 07:03: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,363 |
GroupNotFoundException | /**
* Created by Jakub Romaniszyn on 2018-08-08
*
* <p>Exception to be thrown when group was not found
*/
public class GroupNotFoundException extends Exception {
public static final String GROUP_NOT_FOUND = "Group was not found for {} with id {}";
}
| .version 52 0
.class public super GroupNotFoundException
.super java/lang/Exception
.field public static final GROUP_NOT_FOUND Ljava/lang/String; = 'Group was not found for {} with id {}'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <ini... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:35:14 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:35:14 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,364 |
FmqConfig | import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
public class FmqConfig {
private String name; // Property name if any
private String value; // Property value, if any
@SuppressWarnings("unused")
private FmqConfig child, // First child if any
n... | .version 52 0
.class public super FmqConfig
.super java/lang/Object
.field private name Ljava/lang/String;
.field private value Ljava/lang/String;
.field private child LFmqConfig;
.field private next LFmqConfig;
.field private parent LFmqConfig;
.method public <init> : (Ljava/lang/String;LFmqConfig;)V
.co... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:08:18 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:08: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,365 |
ProblemA | import java.io.File;
import java.util.ArrayList;
import java.util.Scanner;
/**
* @author saleem
*/
public class ProblemA {
static String FILE = "AA.in";
static File inFile;
static Scanner scanner;
static String[] inputS;
static int p, a, b, c, d, n;
static ArrayList<Double> prices = new ArrayList<>();
... | .version 52 0
.class public super ProblemA
.super java/lang/Object
.field static FILE Ljava/lang/String;
.field static inFile Ljava/io/File;
.field static scanner Ljava/util/Scanner;
.field static inputS [Ljava/lang/String;
.field static p I
.field static a I
.field static b I
.field static c I
.field static... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:53:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.ArrayList;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.r... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:53: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,366 |
PercolatorXmlPsmId | /**
* PercolatorXmlPsmId.java
*
* @author Vagisha Sharma Sep 18, 2010
*/
/** */
public class PercolatorXmlPsmId {
private String fileName;
private int scanNumber;
private int charge;
public PercolatorXmlPsmId(String fileName, int scanNumber, int charge) {
this.fileName = fileName;
this.scanNumber... | .version 52 0
.class public super PercolatorXmlPsmId
.super java/lang/Object
.field private fileName Ljava/lang/String;
.field private scanNumber I
.field private charge I
.method public <init> : (Ljava/lang/String;II)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:34:28 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 12: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,367 |
Slots | import java.util.function.Consumer;
public final class Slots {
private Slots() {}
public static void run(
final int from, final int to, final int height, final Consumer<Integer> action) {
for (int h = 0; h < height; h++) {
for (int slot = from; slot < to; slot++) {
action.accept(slot + h ... | .version 52 0
.class public final super Slots
.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 7
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:51:41 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.util.function.Consumer;
import org.evosuite.runt... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04: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,368 |
ItemsRange | /*
* Android Wheel Control.
* https://code.google.com/p/android-wheel/
*
* Copyright 2011 Yuri Kanivets
*
* 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.... | .version 52 0
.class public super ItemsRange
.super java/lang/Object
.field private first I
.field private count I
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: iconst_0
L2: iconst_0
L3: invokespecial Method ItemsRange <init> (II)V
L6: return
L7:
.l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:58: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
* Fri Jul 01 08:58: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,369 |
Usuario | import java.io.Serializable;
public class Usuario implements Serializable {
String nombre, password;
int dni;
public Usuario(String n, String p, int d) {
setNombre(n);
setPassword(p);
setDni(d);
}
public void setNombre(String nombre) {
this.nombre = nombre;
}
public String getNombre()... | .version 52 0
.class public super Usuario
.super java/lang/Object
.implements java/io/Serializable
.field nombre Ljava/lang/String;
.field password Ljava/lang/String;
.field dni I
.method public <init> : (Ljava/lang/String;Ljava/lang/String;I)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:29:32 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:29: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,370 |
magnus | // This file is automatically generated.
/*
* Pantech P9090
*
* DEVICE: magnus
* MODEL: PantechP9090
*/
final class magnus {
public static final String DATA = "Pantech|P9090|";
}
| .version 52 0
.class final super magnus
.super java/lang/Object
.field public static final DATA Ljava/lang/String; = 'Pantech|P9090|'
.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 14:37: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
* Sat Jul 02 14:37: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,371 |
DDIModelException | /**
* Copyright © 2013 Sven Ruppert (sven.ruppert@gmail.com)
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required ... | .version 52 0
.class public super DDIModelException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 19
L4 20 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:45:17 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 07:45:17 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,372 |
RepetitiveLambdaSerialization | /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | .version 52 0
.class public super RepetitiveLambdaSerialization
.super java/lang/Object
.field static final REPS I = 20
.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:00:31 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 20:00:31 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,373 |
ConfigReadWrite | import java.io.IOException;
import java.util.Properties;
/**
* @author zhuhengwei.com @Description:读取和设置配置文件
*/
public class ConfigReadWrite {
private Properties props;
/** 默认的配置文件,config源码包下的config.properties文件 */
public ConfigReadWrite() {
this.props = new Properties();
try {
props.load(this.... | .version 52 0
.class public super ConfigReadWrite
.super java/lang/Object
.field private props Ljava/util/Properties;
.method public <init> : ()V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/util/Properties
L8: dup
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:02:05 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 11:02:05 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,374 |
ApiMeta | /**
* @author li
* @version 1 (2014年9月5日 下午5:46:25)
* @since Java7
*/
public class ApiMeta {
private String appId;
private String appKey;
private String appSecret;
private String redirectUri;
private String token;
private String url;
public String getToken() {
return token;
}
public voi... | .version 52 0
.class public super ApiMeta
.super java/lang/Object
.field private appId Ljava/lang/String;
.field private appKey Ljava/lang/String;
.field private appSecret Ljava/lang/String;
.field private redirectUri Ljava/lang/String;
.field private token Ljava/lang/String;
.field private url Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:01:12 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:01:12 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,375 |
Order | /**
* Class represent Order.
*
* @author Veselov Alexey.
* @version 1.00
* @since 03.01.2017
*/
public class Order {
/** Identifier for this Order. */
private final int id;
/** Count of the transactions. */
private final int volume;
/**
* Constructor.
*
* @param id - identifier of new order.
... | .version 52 0
.class public super Order
.super java/lang/Object
.field private final id I
.field private final volume I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Ord... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:24: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
* Sun Jul 03 21:24: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,376 |
Varargs | public class Varargs {
public String taint() {
return "tainted";
}
public void sink(String s) {}
public void sources() {
f1(taint());
f2(taint(), taint());
f3(new String[] {taint(), ""});
}
public void f1(String... ss) {
String s = ss[0];
sink(s);
}
public void f2(String... s... | .version 52 0
.class public super Varargs
.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 1
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:25:35 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 16:25: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,377 |
Big | /**
* Test large numbers.
*
* @author Lars Engebretsen
*/
class Big {
public static void main(String[] a) {
System.out.println(new Test().go(4711));
}
}
class Test {
public int go(int n) {
return n - 4711;
}
}
| .version 52 0
.class super Big
.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 method
.method ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:00:41 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 17:00: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,378 |
Validacao | import java.util.InputMismatchException;
public class Validacao {
public static final int INDEFINIDO = 0;
public static final int IS_CPF = 1;
public static final int IS_CNPJ = 2;
public static boolean isCpf(String CPF) {
// considera-se erro CPF's formados por uma sequencia de numeros iguais
if (CPF.... | .version 52 0
.class public super Validacao
.super java/lang/Object
.field public static final INDEFINIDO I = 0
.field public static final IS_CPF I = 1
.field public static final IS_CNPJ 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 00:44: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
* Sat Jul 02 00:44: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,379 |
RemoteCommand | import java.io.Serializable;
/*
* RemoteCommand -
* @author BluePrintLabs
* @version 30.04.2016
*/
public class RemoteCommand implements Serializable {
// Properties
private static final long serialVersionUID = 8219318672518338459L;
private String commandBase;
private String commandIdentifier;
private St... | .version 52 0
.class public super RemoteCommand
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 8219318672518338459L
.field private commandBase Ljava/lang/String;
.field private commandIdentifier Ljava/lang/String;
.field private args [Ljava/lang/String; ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:47:42 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 10:47: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,380 |
StringSearchAlgorithms | import java.math.BigInteger;
import java.util.Random;
public class StringSearchAlgorithms {
public static long getBiggerPrime(int m) {
BigInteger prime = BigInteger.probablePrime(getNumberOfBits(m) + 1, new Random());
return prime.longValue();
}
public static long getLowerPrime(long number) {
BigInt... | .version 52 0
.class public super StringSearchAlgorithms
.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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:32:11 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:32:11 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,381 |
AuthException | /**
* Copyright Pravega Authors.
*
* <p>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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed ... | .version 52 0
.class public super abstract AuthException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.field private final responseCode I
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: aload_1
L2: invokespecial Met... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:53: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 17:53:10 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,382 |
TimeWatch | /*L
* Copyright ScenPro Inc, SAIC-F
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/cadsr-cdecurate/LICENSE.txt for details.
*/
import java.util.concurrent.TimeUnit;
public class TimeWatch {
public static final boolean ENABLED = true; // dev only
// public static fi... | .version 52 0
.class public super TimeWatch
.super java/lang/Object
.field public static final ENABLED Z = 1
.field starts J
.method public static start : ()LTimeWatch;
.code stack 2 locals 0
L0: new TimeWatch
L3: dup
L4: invokespecial Method TimeWatch <init> ()V
L7: areturn
L8:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:55:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.concurrent.TimeUnit;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:55: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,383 |
Ex1 | /** Created by padawan on 12/14/13. */
public class Ex1 {
public static void main(String[] args) {
System.out.println("la moyenne est : " + String.valueOf(makeAverage(args)));
}
static Integer parseArg(String a) {
Integer result = null;
try {
result = Integer.valueOf(a);
} catch (NumberFor... | .version 52 0
.class public super Ex1
.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
.end met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:07: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
* Sat Jul 02 07:07: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,384 |
FileStatus | /******************************************
* *
* dcm4che: A OpenSource DICOM Toolkit *
* *
* Distributable under LGPL license. *
* See terms of license at gnu.org. *
* *
***********... | .version 52 0
.class public super FileStatus
.super java/lang/Object
.field private static final ENUM [Ljava/lang/String;
.field public static final QUERY_HSM_FAILED I = -4
.field public static final MD5_CHECK_FAILED I = -3
.field public static final VERIFY_COMPRESS_FAILED I = -2
.field public static final COMPR... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:33: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
* Mon Jul 04 16:33: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,385 |
Algorithm | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.StreamTokenizer;
/**
* @author dengxt
*/
public class Algorithm {
public static final int FROM_FILE = 1;
public static void main(String args[]) throws Exception {
int T =... | .version 52 0
.class public super Algorithm
.super java/lang/Object
.field public static final FROM_FILE I = 1
.field public static in Ljava/io/StreamTokenizer;
.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
* Sat Jul 02 03:00:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.StreamTokenizer;
import java.io.StringReader;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:00:17 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,386 |
TumblrPost | // Copyright 2009 Shun'ichi Shinohara
// This file is part of ShotQuote.
//
// ShotQuote 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 ver... | .version 52 0
.class public super TumblrPost
.super java/lang/Object
.field private email Ljava/lang/String;
.field private password Ljava/lang/String;
.field private hostname Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 4
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:41:17 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:41:17 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,387 |
Args | public final class Args {
public static void checkForRange(double input_, double low_, double high_, String errorString) {
if (!isInRange(input_, low_, high_)) {
throw new IllegalArgumentException(errorString);
}
}
public static void checkForRange(double input_, double low_, double high_) {
if... | .version 52 0
.class public final super Args
.super java/lang/Object
.method public static checkForRange : (DDDLjava/lang/String;)V
.code stack 6 locals 7
L0: dload_0
L1: dload_2
L2: dload 4
L4: invokestatic Method Args isInRange (DDD)Z
L7: ifne L20
L10: new java/lang/IllegalArgume... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:16:45 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 20:16: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,388 |
ApacheCommonsDateUtils | /*
* 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 super ApacheCommonsDateUtils
.super java/lang/Object
.field public static final UTC_TIME_ZONE Ljava/util/TimeZone;
.field public static final MILLIS_PER_SECOND J = 1000L
.field public static final MILLIS_PER_MINUTE J = 60000L
.field public static final MILLIS_PER_HOUR J = 3600000L
.fi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:05:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Locale;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
impo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:05: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,389 |
RenderedData | import java.awt.image.BufferedImage;
import java.util.concurrent.locks.ReentrantLock;
public class RenderedData {
private BufferedImage image;
private BufferedImage preTransformedImage;
private Double area;
private ReentrantLock lock = new ReentrantLock();
public RenderedData() {}
public void setPrintabl... | .version 52 0
.class public super RenderedData
.super java/lang/Object
.field private image Ljava/awt/image/BufferedImage;
.field private preTransformedImage Ljava/awt/image/BufferedImage;
.field private area Ljava/lang/Double;
.field private lock Ljava/util/concurrent/locks/ReentrantLock;
.method public <init>... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:02:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.image.BufferedImage;
import java.util.concurrent.locks.ReentrantLock;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParamet... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:02:06 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,390 |
Production8348 | public class Production8348 {
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 Production8348
.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
* Fri Jul 01 07:43: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
* Fri Jul 01 07:43: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,391 |
Comanda | /**
* @author Maicon /D
*/
public class Comanda {
private int id;
private String data;
private String hora;
private String desc;
public static int nextId = 0;
public void Incremento() {
this.id = Comanda.nextId;
Comanda.nextId++;
}
public int getId() {
return id;
}
public void setI... | .version 52 0
.class public super Comanda
.super java/lang/Object
.field private id I
.field private data Ljava/lang/String;
.field private hora Ljava/lang/String;
.field private desc Ljava/lang/String;
.field public static nextId I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:21: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
* Sun Jul 03 18:21: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,392 |
DashParserException | /*
* Copyright (c) 2015 Mario Guggenberger <mg@itec.aau.at>
*
* This file is part of ITEC MediaPlayer.
*
* ITEC MediaPlayer 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 Licens... | .version 52 0
.class super DashParserException
.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 28
L4 29
.end linen... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:58: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
* Fri Jul 01 22:58: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,393 |
StatusCodes | /*
* VITacademics
* Copyright (C) 2015 Aneesh Neelam <neelam.aneesh@gmail.com>
* Copyright (C) 2015 Saurabh Joshi <saurabhjoshi94@outlook.com>
* Copyright (C) 2015 Gaurav Agerwala <gauravagerwala@gmail.com>
* Copyright (C) 2015 Karthik Balakrishnan <karthikb351@gmail.com>
* Copyright (C) 2015 Pulkit Juneja <... | .version 52 0
.class public super StatusCodes
.super java/lang/Object
.field public static final SUCCESS I = 0
.field public static final TIMED_OUT I = 11
.field public static final INVALID I = 12
.field public static final CAPTCHA_PARSING I = 13
.field public static final TOKEN_EXPIRED I = 14
.field public sta... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18: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
* Fri Jul 01 18: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,394 |
Person | // Doesn't creates unnecessary duplicate objects - page 21
import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;
class Person {
private final Date birthDate;
public Person(Date birthDate) {
// Defensive copy - see Item 39
this.birthDate = new Date(birthDate.getTime());
}
// Ot... | .version 52 0
.class super Person
.super java/lang/Object
.field private final birthDate Ljava/util/Date;
.field private static final BOOM_START Ljava/util/Date;
.field private static final BOOM_END Ljava/util/Date;
.method public <init> : (Ljava/util/Date;)V
.code stack 5 locals 2
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:39:32 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.util.MockDate;
import org.junit.runner.RunW... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:39: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,395 |
Common | /*
* Copyright 2014 Harsh Panchal <panchal.harsh18@gmail.com>.
*
* 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 Common
.super java/lang/Object
.field private static final IPADDRPATTERN Ljava/lang/String; = '^([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.([01]?\\d\\d?|2[0-4]\\d|25[0-5])$'
.field public static final SERVER_PORT I = 650... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:16: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 23:16: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,396 |
SomeRunner | /*
* Copyright 2019-present Facebook, 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... | .version 52 0
.class public super SomeRunner
.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
* Mon Jul 04 05:39:35 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 05:39: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,397 |
UserAgentInfo | /**
* JavaBean that returns the data to the calling user from UAParser.parse()
*
* @author oli
*/
public class UserAgentInfo {
private String typ;
private String uaFamily;
private String uaName;
private String uaUrl;
private String uaCompany;
private String uaCompanyUrl;
private String uaIcon;
priv... | .version 52 0
.class public super UserAgentInfo
.super java/lang/Object
.field private typ Ljava/lang/String;
.field private uaFamily Ljava/lang/String;
.field private uaName Ljava/lang/String;
.field private uaUrl Ljava/lang/String;
.field private uaCompany Ljava/lang/String;
.field private uaCompanyUrl Ljava/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:16: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 08:16: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,398 |
ConnectionContext | import java.sql.Connection;
public class ConnectionContext {
private ConnectionContext() {}
private static ConnectionContext instance = new ConnectionContext();
public static ConnectionContext getInstance() {
return instance;
}
private ThreadLocal<Connection> connectionThreadLocal = new ThreadLocal<>(... | .version 52 0
.class public super ConnectionContext
.super java/lang/Object
.field private static instance LConnectionContext;
.field private connectionThreadLocal Ljava/lang/ThreadLocal; .fieldattributes
.signature Ljava/lang/ThreadLocal<Ljava/sql/Connection;>;
.end fieldattributes
.method private <init> :... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:24:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Connection;
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
* Sat Jul 02 21:24: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,399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.