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 |
|---|---|---|---|---|---|
Move | public class Move {
private int first;
private int second;
public Move(int first, int second) {
super();
this.first = first;
this.second = second;
}
public int getFirst() {
return first;
}
public void setFirst(int first) {
this.first = first;
}
public int getSecond() {
retu... | .version 52 0
.class public super Move
.super java/lang/Object
.field private first I
.field private second 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 Move first I ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:13:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:13: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;
... | 147,200 |
AdapterImage | /*
* Copyright (c) Alex de Kruijff <alex.de.kruijff@MazarineBlue.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License
* as published by the Free Software Foundation; either version 3
* of the License, or (at your option) any la... | .version 52 0
.class public super AdapterImage
.super java/awt/Image
.field private final adaptee Ljava/awt/Image;
.method public <init> : (Ljava/awt/Image;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/awt/Image <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Fie... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:08:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.GraphicsConfiguration;
import java.awt.Image;
import javax.swing.Box;
import javax.swing.JToggleButto... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:08: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;
... | 147,201 |
AppState | public class AppState {
public int getStatusCode() {
return statusCode;
}
public void setStatusCode(int statusCode) {
this.statusCode = statusCode;
}
public String getStatusDes() {
return statusDes;
}
public void setStatusDes(String statusDes) {
this.statusDes = statusDes;
}
privat... | .version 52 0
.class public super AppState
.super java/lang/Object
.field private statusCode I
.field private statusDes Ljava/lang/String;
.field public static final UNKNOWN I = -1
.field public static final OK I = 100
.field public static final APP_NOT_EXIST I = 201
.field public static final APP_AUDIT_FAIL I ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:17:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:17: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;
... | 147,202 |
Wildcard | /*
* Copyright (c) 2011, 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 Wildcard
.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 32
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:46:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:46: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;
... | 147,203 |
ExcelExtractionException | /*
* Copyright (C) 2015 Scott Lee
*
* 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 is distribu... | .version 52 0
.class public final super ExcelExtractionException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.li... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:16:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:16:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,204 |
PvPGunZ | public class PvPGunZ {}
| .version 52 0
.class public super PvPGunZ
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:10: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 04:10: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;
... | 147,205 |
CheckPointOkToHomeEvent | /** Created by cango on 2017/6/28. */
public class CheckPointOkToHomeEvent {
String msg;
public CheckPointOkToHomeEvent(String msg) {
this.msg = msg;
}
}
| .version 52 0
.class public super CheckPointOkToHomeEvent
.super java/lang/Object
.field msg Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfield Fi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:24: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 20:24: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;
... | 147,206 |
CryingOutLoud | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class CryingOutLoud {
public static void main(String[] args) throws Exception {
System.out.println(run(new BufferedReader(new InputStreamReader(System.in))));
}
public static long run(BufferedReader reader) ... | .version 52 0
.class public super CryingOutLoud
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:11:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.BufferedReader;
import java.io.StringReader;
import org.evosuite.runtime.EvoRunner;
import org.evosuit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:11: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;
... | 147,207 |
Main | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
class Main {
public static boolean valid(int[] musicians, int muPerScore, int maxScores) {
int scoresNeeded = 0;
for (int i = 0; i < musicians.length; i++) {
scoresNeeded += (musicians[i] / muPerScore);
... | .version 52 0
.class super Main
.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:38:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.u... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:38:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,208 |
GsonTest | /**
* Gson goals: 1. Provide simple toJson() and fromJson() methods to convert Java objects to JSON and
* vice-versa 2. Allow pre-existing unmodifiable objects to be converted to and from JSON 3.
* Extensive support of Java Generics 4. Allow custom representations for objects 5. Support
* arbitrarily complex object... | .version 52 0
.class public super GsonTest
.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 14
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:58:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:58: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;
... | 147,209 |
UserDaoTest | public class UserDaoTest {}
| .version 52 0
.class public super UserDaoTest
.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
* Sat Jul 02 18:49:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:49:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,210 |
Interval | /*!
* falkonry-java-client
* Copyright(c) 2016 Falkonry Inc
* MIT Licensed
*/
public class Interval {
private String field;
private String duration;
public String getField() {
return this.field;
}
public Interval setField(String field) {
this.field = field;
return this;
}
public String... | .version 52 0
.class public super Interval
.super java/lang/Object
.field private field Ljava/lang/String;
.field private duration 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
* Mon Jul 04 16:03:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:03: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;
... | 147,211 |
NetworkRunStats | public class NetworkRunStats {
public int trainingSetSize;
public int generalizeSetSize;
public int nbIterations;
public int overTrainingOccurences;
public double error;
public double avgError;
public double avgGeneralizationError;
public double learningRate;
}
| .version 52 0
.class public super NetworkRunStats
.super java/lang/Object
.field public trainingSetSize I
.field public generalizeSetSize I
.field public nbIterations I
.field public overTrainingOccurences I
.field public error D
.field public avgError D
.field public avgGeneralizationError D
.field public le... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:44:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:44:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,212 |
MobileBean | import java.util.List;
public class MobileBean {
private String path;
private String fileName;
private String fileParent;
private List<String> fileChilds;
private String fileDate;
public MobileBean() {}
public MobileBean(
String path, String fileName, String fileParent, List<String> fileChil... | .version 52 0
.class public super MobileBean
.super java/lang/Object
.field private path Ljava/lang/String;
.field private fileName Ljava/lang/String;
.field private fileParent Ljava/lang/String;
.field private fileChilds Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:49:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:49: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;
... | 147,213 |
Production8034 | public class Production8034 {
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 Production8034
.super java/lang/Object
.field private property0 Ljava/lang/String;
.field private property1 Ljava/lang/String;
.field private property2 Ljava/lang/String;
.field private property3 Ljava/lang/String;
.field private property4 Ljava/lang/String;
.field private prop... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:39: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
* Sat Jul 02 02:39: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;
... | 147,214 |
Person | public class Person {
public final String firstName;
public final String lastName;
public Person(String firstName, String lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
public String getFirstName() {
return firstName;
}
public String getLastName() {
return lastName... | .version 52 0
.class public super Person
.super java/lang/Object
.field public final firstName Ljava/lang/String;
.field public final lastName Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Obj... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:09: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
* Mon Jul 04 14:09: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;
... | 147,215 |
AvailabilityZone | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | .version 52 0
.class public super AvailabilityZone
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:57: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 08:57:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,216 |
InputOneTopLevelClassBasic | public class InputOneTopLevelClassBasic {
public InputOneTopLevelClassBasic() throws CloneNotSupportedException {
super.equals(new String());
super.clone();
}
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
public void method() throws CloneNotSupportedException ... | .version 52 0
.class public super InputOneTopLevelClassBasic
.super java/lang/Object
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: invokespecial Method java/lang/Object clone ()Ljava/lang/Object;
L8: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:24:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:24:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,217 |
HttpException | /*
* JetS3t : Java S3 Toolkit
* Project hosted at http://bitbucket.org/jmurty/jets3t/
*
* Copyright 2007 James Murty
*
* 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://w... | .version 52 0
.class public super HttpException
.super java/lang/Exception
.field private static final serialVersionUID J = 1122712836821079256L
.field private responseCode I
.field private responseMessage Ljava/lang/String;
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aloa... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:22:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:22:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,218 |
Pyramid | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author Sean
*/
public class Pyramid {}
| .version 52 0
.class public super Pyramid
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:09: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
* Sat Jul 02 14:09: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;
... | 147,219 |
CPLEXOptimizedPathComputing | public class CPLEXOptimizedPathComputing {}
// FIXME: Class not working, uncomment to fix it
//
//
// import java.net.Inet4Address;
// import java.util.Hashtable;
// import java.util.Iterator;
// import org.slf4j.Logger;
// import org.slf4j.LoggerFactory;
//
// import org.jgrapht.graph.SimpleDirectedWeightedGraph;
//
... | .version 52 0
.class public super CPLEXOptimizedPathComputing
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:48: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
* Sun Jul 03 15:48: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;
... | 147,220 |
CurrencyPairTest | /**
* Created with IntelliJ IDEA. User: brutus Date: 28.12.13 Time: 23:22 To change this template use
* File | Settings | File Templates.
*/
public class CurrencyPairTest {}
| .version 52 0
.class public super CurrencyPairTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:21:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:21: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;
... | 147,221 |
ManualDOM | /**
* Title:
*
* <p>Description:
*
* <p>Copyright: Copyright (c) 2001
*
* <p>Company:
*
* @author unascribed
* @version 1.0
*/
public class ManualDOM {
public ManualDOM() {}
}
| .version 52 0
.class public super ManualDOM
.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 14
L4 15
.end linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:11:13 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:11: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;
... | 147,222 |
BufferToInputStream | import java.io.IOException;
import java.io.InputStream;
import java.nio.ByteBuffer;
public class BufferToInputStream extends InputStream {
byte[] firstBuffer = new byte[12];
byte[] secondBuffer = null;
int firstLen = 0;
int secondLen = 0;
int pos = 0;
boolean readingSecond = false;
public synchronized ... | .version 52 0
.class public super BufferToInputStream
.super java/io/InputStream
.field firstBuffer [B
.field secondBuffer [B
.field firstLen I
.field secondLen I
.field pos I
.field readingSecond Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/io/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:52:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.ByteBuffer;
import java.nio.InvalidMarkException;
import org.evosuite.runtime.EvoRunner;
import org.e... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:52: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;
... | 147,223 |
Welcome1 | // Fig. 2.1: Welcome1.java
// Text-printing program.
public class Welcome1 {
// main method begins execution of Java application
public static void main(String[] args) {
System.out.println("Welcome to Java Programming!");
} // end method main
} // end class Welcome1
/****************************************... | .version 52 0
.class public super Welcome1
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:51:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:51: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;
... | 147,224 |
Contract | /**
* ºÏͬ
*
* @author Administrator
*/
public class Contract {
/** ºÏͬID */
private int id;
/** ÏúÊÛÔ± */
private int salesman;
/** ¿Í»§ */
private int client;
/** ·¿Ô´ */
private int availability;
/** ×âÆÚ */
private int tenancy_term;
/** ¼Û¸ñ */
private int price;
/** ʱ¼ä */
private... | .version 52 0
.class public super Contract
.super java/lang/Object
.field private id I
.field private salesman I
.field private client I
.field private availability I
.field private tenancy_term I
.field private price I
.field private time Ljava/lang/String;
.method public <init> : ()V
.code stack 1 loc... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:35: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
* Fri Jul 01 06:35: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;
... | 147,225 |
Event | /*
* The MIT License
*
* Copyright 2016 FSUComputerClub.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy,... | .version 52 0
.class public super Event
.super java/lang/Object
.field private final eventName Ljava/lang/String;
.field private final username Ljava/lang/String;
.field private final message Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:46:13 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:46: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;
... | 147,226 |
WordMappingEx | import java.io.BufferedReader;
import java.io.Closeable;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.util.Arrays;
import java.util.Collection;
import java.util.Co... | .version 52 0
.class public super WordMappingEx
.super java/lang/Object
.implements java/io/Closeable
.field private final reader Ljava/io/BufferedReader;
.field private words Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : (Lja... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:22:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.nio.charset.Charset;
import org.evosuite.runti... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:22:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,227 |
FindeLineColumnFactory | public class FindeLineColumnFactory {
/** gibt die Zeile oder Spalte zurück, in die geklickt wurde */
public static int getLineORColumn(Double pos, int PixelSize) {
// pos = pos - pos/8;
int foo = (int) (pos - pos % PixelSize);
int number = (int) (foo / PixelSize);
System.out.println("Pos: " + pos +... | .version 52 0
.class public super FindeLineColumnFactory
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:22: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
* Sat Jul 02 12:22: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;
... | 147,228 |
Cliente | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author Administrador
*/
public class Cliente {
private int IdCliente;
private String Nombre;
private String RUC;
priv... | .version 52 0
.class public super Cliente
.super java/lang/Object
.field private IdCliente I
.field private Nombre Ljava/lang/String;
.field private RUC Ljava/lang/String;
.field private Contacto Ljava/lang/String;
.field private Direccion Ljava/lang/String;
.field private Telefono Ljava/lang/String;
.field pr... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:12:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:12:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,229 |
LoggerHolder | import java.util.logging.Logger;
final class LoggerHolder {
public static final Logger LOGGER = Logger.getLogger("gappsockets.localserver");
private LoggerHolder() {}
}
| .version 52 0
.class final super LoggerHolder
.super java/lang/Object
.field public static final LOGGER Ljava/util/logging/Logger;
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:32: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
* Mon Jul 04 04:32:28 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... | 147,230 |
Answer | public class Answer {
public static int answer(int total_lambs) {
int generous = calculateGenerousBasedOnGeometricProgressionCommonRatioTwo(total_lambs);
int stingy = calculateStingyBasedInFibonacciSerie(total_lambs);
return stingy - generous;
}
static int calculateGenerousBasedOnGeometricProgress... | .version 52 0
.class public super Answer
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:11:11 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:11: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;
... | 147,231 |
TextConvert | public class TextConvert {
private static char[] cp1252 = {
'\u20ac', '\0', '\u201a', '\u0192', '\u201e', '\u2026', '\u2020', '\u2021', '\u02c6', '\u2030',
'\u0160', '\u2039', '\u0152', '\0', '\u017d', '\0', '\0', '\u2018', '\u2019', '\u201c',
'\u201d', '\u2022', '\u2013', '\u2014', '\u02dc', '\u2122', '\... | .version 52 0
.class public super TextConvert
.super java/lang/Object
.field private static cp1252 [C
.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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:02:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.nio.CharBuffer;
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
* Sat Jul 02 16:02: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;
... | 147,232 |
PersistenceContext | public class PersistenceContext {
public static final int HIBERNATE = 0;
}
| .version 52 0
.class public super PersistenceContext
.super java/lang/Object
.field public static final HIBERNATE I = 0
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:40:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:40:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,233 |
JoomlaActionException | /*
* Copyright (C) 2010 Interactive Media Management
*
* 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.
*
* ... | .version 52 0
.class public super JoomlaActionException
.super java/lang/Exception
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/Throwable;)V
L5: return
L6:
.linen... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:15:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:15: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;
... | 147,234 |
StreamDrainer | import java.io.IOException;
import java.io.InputStream;
import java.util.LinkedList;
import java.util.List;
/**
* A utility for draining the contents of an {@link java.io.InputStream} into a {@code byte} array.
*/
public class StreamDrainer {
/** The default size of the buffer for draining a stream. */
public s... | .version 52 0
.class public super StreamDrainer
.super java/lang/Object
.field public static final DEFAULT_BUFFER_SIZE I = 1024
.field private static final END_OF_STREAM I = -1
.field private static final FROM_BEGINNING I = 0
.field private final bufferSize I
.method public <init> : ()V
.code stack 2 local... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:17:09 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.BufferedInputStream;
import java.io.ByteArray... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 22:17:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,235 |
EventStorage | import java.util.Date;
import java.util.LinkedList;
import java.util.List;
class EventStorage {
private int maxSize;
private List<Date> storage;
EventStorage() {
maxSize = 10;
storage = new LinkedList<>();
}
synchronized void set() {
while (storage.size() == maxSize) {
try {
wait(... | .version 52 0
.class super EventStorage
.super java/lang/Object
.field private maxSize I
.field private storage Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/util/Date;>;
.end fieldattributes
.method <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:00: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
* Sat Jul 02 15:00: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;
... | 147,236 |
DeveloperKey | public class DeveloperKey {
/**
* Please replace this with a valid API key which is enabled for the YouTube Data API v3 service.
* Go to the <a href="https://code.google.com/apis/console/">Google APIs Console</a> to register a
* new developer key.
*/
public static final String DEVELOPER_KEY = "AIzaSyCL... | .version 52 0
.class public super DeveloperKey
.super java/lang/Object
.field public static final DEVELOPER_KEY Ljava/lang/String; = 'AIzaSyCLtXwVhMLWxKtSnP0vYAGYeyVEg7mU5Vw'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:54: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 11:54: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;
... | 147,237 |
BindingUtils | /*
* Commons Library
* Copyright (c) 2015 Sergey Grachev (sergey.grachev@yahoo.com). All rights reserved.
*
* This software is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the ... | .version 52 0
.class public final super BindingUtils
.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 26
L4 27
.end line... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:19: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
* Sat Jul 02 11:19: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;
... | 147,238 |
DriveState | /**
* Copyright (c) 2010-2017 by the respective copyright holders.
*
* <p>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 available at
* http://www.eclipse.org/legal/epl-v10.html
*/... | .version 52 0
.class public super DriveState
.super java/lang/Object
.field public latitude D
.field public longitude D
.field public heading I
.field public gps_as_of I
.field public shift_state Ljava/lang/String;
.field public speed Ljava/lang/String;
.method <init> : ()V
.code stack 1 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:23:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:23: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;
... | 147,239 |
TwoSum | // Copyright (c) 2015 Elements of Programming Interviews. All rights reserved.
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Random;
public class TwoSum {
// @include
public static boolean hasTwoSum(List<Integer> A, int t) {
int i = 0, j = A.size() - 1;
... | .version 52 0
.class public super TwoSum
.super java/lang/Object
.field static final synthetic $assertionsDisabled Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:57:27 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.LinkedList;
import java.util.function.Consu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:57:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,240 |
ApplicationConstants | /** Created by user on 7/24/2015. */
public class ApplicationConstants {
// Php Application URL to store Reg ID created
static final String APP_SERVER_URL = "http://taxires.site90.com/taxi/notifyPassenger.php";
// Google Project Number
static final String GOOGLE_PROJ_ID = "735694646393";
// Message Key
st... | .version 52 0
.class public super ApplicationConstants
.super java/lang/Object
.field static final APP_SERVER_URL Ljava/lang/String; = 'http://taxires.site90.com/taxi/notifyPassenger.php'
.field static final GOOGLE_PROJ_ID Ljava/lang/String; = '735694646393'
.field static final MSG_KEY Ljava/lang/String; = 'm'
.f... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:10: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
* Sun Jul 03 19:10: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;
... | 147,241 |
Client | // A simple client for xtrachat
import java.io.*;
import java.net.*;
import java.util.*;
public class Client {
Socket client_socket;
PrintWriter writer;
public static void main(String[] args) {
Client c = new Client();
System.out.println("Client Started...");
System.out.println("Making a request t... | .version 52 0
.class public super Client
.super java/lang/Object
.field client_socket Ljava/net/Socket;
.field writer Ljava/io/PrintWriter;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumb... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:41:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:41: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;
... | 147,242 |
CollectionsBasics | /*******************************************************************************
* This code is developed and owned by Borsa Istanbul A.S.
* The distribution of this code by any means is prohibited.
* You cannot copy/share/distribute/deliver/use/modify/move without having
* a permission to do so. Use it with your o... | .version 52 0
.class public super CollectionsBasics
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 18
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:53:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:53:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,243 |
DHPublicKeySpec | /*
* Copyright 2005 The Apache Software Foundation or its licensors, as applicable.
*
* 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... | .version 52 0
.class public super DHPublicKeySpec
.super java/lang/Object
.implements java/security/spec/KeySpec
.field private y Ljava/math/BigInteger;
.field private p Ljava/math/BigInteger;
.field private g Ljava/math/BigInteger;
.method public <init> : (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:00:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigInteger;
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
* Mon Jul 04 01:00: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;
... | 147,244 |
DtoBase | public class DtoBase {
private String url;
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
}
| .version 52 0
.class public super DtoBase
.super java/lang/Object
.field private url Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:01: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 16:01: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;
... | 147,245 |
MenuOutException | /**
* Main class.
*
* @author Yury Chuksin (chuksin.yury@gmail.com)
* @since 31.05.2017.
*/
public class MenuOutException extends RuntimeException {
/**
* MenuOutException my exception.
*
* @param msg explain what is wrong in entering data
*/
public MenuOutException(String msg) {
super(msg);
... | .version 52 0
.class public super MenuOutException
.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:
.li... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:11: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
* Sat Jul 02 02:11: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;
... | 147,246 |
Constants | /*******************************************************************************
*
* Pentaho Big Data
*
* Copyright (C) 2002-2015 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final HADOOP_FILE_SYSTEM Ljava/lang/String; = 'Hadoop File System'
.field public static final MAP_REDUCE Ljava/lang/String; = 'Map Reduce'
.field public static final OOZIE Ljava/lang/String; = 'Oozie'
.field public static fin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:20:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:20:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,247 |
ConcatTextEntity | /** Created by eadgyo on 02/08/16. */
public class ConcatTextEntity {}
| .version 52 0
.class public super ConcatTextEntity
.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 c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:44:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:44:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,248 |
DefaultDateFormatter | import java.text.ParseException;
import java.text.ParsePosition;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
/** Attempt at making a DateFormat that can actually parse ISO 8601 dates correctly */
public class DefaultDateFormatter extends SimpleDateForma... | .version 52 0
.class public super DefaultDateFormatter
.super java/text/SimpleDateFormat
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: ldc "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
L3: getstatic Field java/util/Locale US Ljava/util/Locale;
L6: invokespecial Method java/text/SimpleDa... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:34:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.text.ParseException;
import java.text.ParsePosition;
import java.util.Date;
import org.evosuite.runtime.E... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:34:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,249 |
EOLConvertingOutputStream | import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.OutputStream;
public class EOLConvertingOutputStream extends FilterOutputStream {
private static final int CR = '\r';
private static final int LF = '\n';
private int lastChar;
private static final int IGNORE_LF = Integer.MIN_VALUE;
... | .version 52 0
.class public super EOLConvertingOutputStream
.super java/io/FilterOutputStream
.field private static final CR I = 13
.field private static final LF I = 10
.field private lastChar I
.field private static final IGNORE_LF I = -2147483648
.method public <init> : (Ljava/io/OutputStream;)V
.code s... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:51:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.BufferedOutputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.PipedOutputStream;
import org.evosuite.runtime... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:51: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;
... | 147,250 |
BoyerMooreMajorityVoteAlgorithm | import java.util.HashMap;
import java.util.Map;
/** Created by Maks on 4/22/2017. */
public class BoyerMooreMajorityVoteAlgorithm {
public int solution1(Integer[] arr) {
HashMap<Integer, Integer> item = new HashMap<Integer, Integer>();
for (int i = 0; i < arr.length; i++) {
if (item.containsKey(arr[i]... | .version 52 0
.class public super BoyerMooreMajorityVoteAlgorithm
.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 linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:59:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:59:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,251 |
InsertionSort | import java.util.Scanner;
public class InsertionSort {
private static Scanner in;
public static void insertionSortPart2(int[] ar) {
for (int i = 1; i < ar.length; i++) {
int value = ar[i];
int j = i - 1;
while (j >= 0 && ar[j] > value) {
ar[j + 1] = ar[j];
j = j - 1;
}... | .version 52 0
.class public super InsertionSort
.super java/lang/Object
.field private static in Ljava/util/Scanner;
.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 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 08:05:06 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
* Mon Jul 04 08:05: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;
... | 147,252 |
County | public class County {
private int id;
private String countyName;
private String countyCode;
private int cityId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCountyName() {
return countyName;
}
public void setCountyName(String county... | .version 52 0
.class public super County
.super java/lang/Object
.field private id I
.field private countyName Ljava/lang/String;
.field private countyCode Ljava/lang/String;
.field private cityId I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:21: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 12:21: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;
... | 147,253 |
JsonString | public class JsonString {
/*
* @ignore ts
*/
private static final Character ESCAPE_CHAR = '\\';
/*
* @ignore ts
*/
public static void encodeBuffer(StringBuilder buffer, String chain) {
if (chain == null) {
return;
}
int i = 0;
while (i < chain.length()) {
Character ch =... | .version 52 0
.class public super JsonString
.super java/lang/Object
.field private static final ESCAPE_CHAR Ljava/lang/Character;
.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 03:48: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
* Sat Jul 02 03:48: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;
... | 147,254 |
ExceptionUtils | /*
* ====================================================================
* 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
... | .version 52 0
.class public final super ExceptionUtils
.super java/lang/Object
.field private static final INIT_CAUSE_METHOD Ljava/lang/reflect/Method;
.method private static getInitCauseMethod : ()Ljava/lang/reflect/Method;
.code stack 4 locals 1
.catch java/lang/NoSuchMethodException from L0 to L18... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:03:46 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 05:03:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,255 |
ZipUtil4Npt | import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import java.util.zip.ZipOut... | .version 52 0
.class public super ZipUtil4Npt
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 19
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:06:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:06: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;
... | 147,256 |
Binds | import java.io.Serializable;
/** Created by Justin on 2017/6/26. */
public class Binds implements Serializable {
private static final long serialVersionUID = 7674942598042413264L;
private int bind_flag;
private boolean bind_by_self;
public Binds() {}
public Binds(int bind_flag, boolean bind_by_self) {
... | .version 52 0
.class public super Binds
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 7674942598042413264L
.field private bind_flag I
.field private bind_by_self Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:13:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:13:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,257 |
StreamUtils | import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.Closeable;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.Reader;
import java.io.StringWriter;
import java.io.Writer;
import java.nio.ByteBuffer;
/*... | .version 52 0
.class public final super StreamUtils
.super java/lang/Object
.field public static final IO_BUFFER_SIZE I = 8192
.field private static final END_OF_STREAM I = -1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:48:56 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.ByteArra... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:48: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;
... | 147,258 |
Stopwatch | public class Stopwatch {
private long start;
private long stop;
public void start() {
start = System.currentTimeMillis();
}
public void stop() {
stop = System.currentTimeMillis();
}
public long getDiff() {
return stop - start;
}
/**
* @return formatted diff using format XXX minutes... | .version 52 0
.class public super Stopwatch
.super java/lang/Object
.field private start J
.field private stop J
.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
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:02: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 05:02: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;
... | 147,259 |
Pizza | public class Pizza {
// declaration of attributes
private int pizzaId;
private String pizzaName;
private int pizzaPrice;
// Getter and Setters for each attribute
public int getPizzaId() {
return pizzaId;
}
public void setPizzaId(int pizzaId) {
this.pizzaId = pizzaId;
}
public String getPi... | .version 52 0
.class public super Pizza
.super java/lang/Object
.field private pizzaId I
.field private pizzaName Ljava/lang/String;
.field private pizzaPrice I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:07: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
* Fri Jul 01 12:07: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;
... | 147,260 |
VerticalPosition | public class VerticalPosition {
public static final int TOP = 1;
public static final int CENTER = 0;
public static final int BOTTOM = 3;
}
| .version 52 0
.class public super VerticalPosition
.super java/lang/Object
.field public static final TOP I = 1
.field public static final CENTER I = 0
.field public static final BOTTOM I = 3
.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 06:49: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
* Sat Jul 02 06:49: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;
... | 147,261 |
NamedSpeaker | /**
* NamedSpeaker
*
* @author <a href="mailto:sylvain.meignier@lium.univ-lemans.fr">Sylvain Meignier</a>
* @author <a href="mailto:vincent.jousse@lium.univ-lemans.fr">Vincent Jousse</a>
* @version v2.0
* <p>Copyright (c) 2007-2009 Universite du Maine. All Rights Reserved. Use is subject to
* license ter... | .version 52 0
.class public super NamedSpeaker
.super java/lang/Object
.field private clusterName Ljava/lang/String;
.field private count I
.field private score D
.field private repartition D
.field private combinedScore D
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:50:31 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:50: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;
... | 147,262 |
Bug16Test | /*
* Developed by Koji Hisano <koji.hisano@eflow.jp>
*
* Copyright (C) 2009 eflow Inc. <http://www.eflow.jp/en/>
*
* This file is a part of Android Dalvik VM on Java.
* http://code.google.com/p/android-dalvik-vm-on-java/
*
* This project is free software; you can redistribute it and/or modify
* it under the te... | .version 52 0
.class public super Bug16Test
.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 26
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:02: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 00:02: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;
... | 147,263 |
JobNotLoadedException | public class JobNotLoadedException extends Exception {
public JobNotLoadedException() {
super("One or more jobs have not been loaded");
}
public JobNotLoadedException(String msg) {
super(msg);
}
}
| .version 52 0
.class public super JobNotLoadedException
.super java/lang/Exception
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'One or more jobs have not been loaded'
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L6: return
L7:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:23: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
* Sat Jul 02 11:23: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;
... | 147,264 |
CommentBulkApproveRequest | /*
* Copyright 2014 Tagbangers, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | .version 52 0
.class public super CommentBulkApproveRequest
.super java/lang/Object
.implements java/io/Serializable
.field private ids Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Long;>;
.end fieldattributes
.field private language Ljava/lang/String;
.method public <init> : ()V... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:25:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:25: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;
... | 147,265 |
SimpleRESTContext | /**
* Copyright (C) 2014 Karlsruhe Institute of Technology
*
* <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... | .version 52 0
.class public final super SimpleRESTContext
.super java/lang/Object
.field private accessKey Ljava/lang/String;
.field private accessSecret Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method ja... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:05:15 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 08:05: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;
... | 147,266 |
Tweet | /*
* The MIT License (MIT)
*
* Copyright (c) 2014 Daniel Gimenes
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to us... | .version 52 0
.class public super Tweet
.super java/lang/Object
.field private id Ljava/lang/Long;
.field private tweetTime Ljava/util/Date;
.field private userName Ljava/lang/String;
.field private screenName Ljava/lang/String;
.field private tweet Ljava/lang/String;
.field private rtId Ljava/lang/Long;
.fiel... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:29:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Clock;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18: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;
... | 147,267 |
MaxNotBiggerThanMin | public class MaxNotBiggerThanMin extends Exception {
public MaxNotBiggerThanMin() {
super("Max must be greater than min");
}
}
| .version 52 0
.class public super MaxNotBiggerThanMin
.super java/lang/Exception
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'Max must be greater than min'
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L6: return
L7:
.line... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:26: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 08:26: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;
... | 147,268 |
Solution | public class Solution {
public boolean isValidSudoku(char[][] board) {
int size = board.length;
int[] rowNums = new int[size];
int[] colNums = new int[size];
int[] gridNums = new int[size];
for (int i = 0; i < size; i++) {
for (int j = 0; j < size; j++) {
int gridNum = (i / 3) * 3 + ... | .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 1
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:34:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:34: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;
... | 147,269 |
CountDownLatchDemo | import java.util.concurrent.CountDownLatch;
public class CountDownLatchDemo {
private CountDownLatch latch = new CountDownLatch(4);
public void runner() {
try {
System.out.println("Ready");
latch.await();
System.out.println("Running");
} catch (InterruptedException e) {
}
}
pub... | .version 52 0
.class public super CountDownLatchDemo
.super java/lang/Object
.field private latch Ljava/util/concurrent/CountDownLatch;
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: new java/util/concurre... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:17: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
* Mon Jul 04 11:17:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,270 |
Easy | /** Created by linxj on 2015/9/28. */
public class Easy {
public String name;
public int age;
public void setName(String name) {
this.name = name;
}
public void setAge(int age) {
this.age = age;
}
public String getName() {
return name;
}
public int getAge() {
return age;
}
}
| .version 52 0
.class public super Easy
.super java/lang/Object
.field public name Ljava/lang/String;
.field public age I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:58: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
* Sat Jul 02 10:58: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;
... | 147,271 |
Solution | /** Created by yanya04 on 9/11/2017. */
public class Solution {
public int minMoves(int[] nums) {
if (nums.length == 0) return 0;
int min = Integer.MAX_VALUE;
for (int i = 0; i < nums.length; i++) {
min = Math.min(nums[i], min);
}
int moves = 0;
for (int i = 0; i < nums.length; i++) {... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:47:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:47: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;
... | 147,272 |
FilterItem | /**
* Copyright 2005-2016 Red Hat, Inc.
*
* <p>Red Hat licenses this file to you under the Apache License, version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You may obtain a copy of the License
* at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless re... | .version 52 0
.class public super FilterItem
.super java/lang/Object
.field private className Ljava/lang/String;
.field private methodName 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
* Sat Jul 02 20:24:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:24: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;
... | 147,273 |
StandardTypes | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | .version 52 0
.class public final super StandardTypes
.super java/lang/Object
.field public static final BIGINT Ljava/lang/String; = 'bigint'
.field public static final INTEGER Ljava/lang/String; = 'integer'
.field public static final BOOLEAN Ljava/lang/String; = 'boolean'
.field public static final DATE Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:35: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 13:35:56 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... | 147,274 |
TelaBuscarAluno | /*
* 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.awt.Color;
/**
* @author alunom
*/
public class TelaBuscarAluno extends javax.swing.JDialog {
/** Creates new form T... | .version 52 0
.class public super TelaBuscarAluno
.super javax/swing/JDialog
.field private cbCurso Ljavax/swing/JCheckBox;
.field private cbTodos Ljavax/swing/JCheckBox;
.field private cbxOpcoesBusca Ljavax/swing/JComboBox;
.field private cbxTipoDeclaracao Ljavax/swing/JComboBox;
.field private jComboBox1 Ljava... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:02:02 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 08:02:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,275 |
AppCatalogUtils | /*
*
* 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"); y... | .version 52 0
.class public super AppCatalogUtils
.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 26
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:01: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
* Sat Jul 02 03:01: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;
... | 147,276 |
MySQLTransientException | /*
Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
<http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is applied ... | .version 52 0
.class public super MySQLTransientException
.super java/sql/SQLException
.field static final serialVersionUID J = -1885878228558607563L
.method public <init> : (Ljava/lang/String;Ljava/lang/String;I)V
.code stack 4 locals 4
L0: aload_0
L1: aload_1
L2: aload_2
L3: iload_3
L4:... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:43: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 18:43: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;
... | 147,277 |
ResponseShardVO | /** Created by smartkit on 2016/11/8. */
public class ResponseShardVO {
// "total": 2,
// "successful": 1,
// "failed": 0
private int total;
private int failed;
private int successful;
public ResponseShardVO(int total, int failed, int successful) {
this.total = total;
thi... | .version 52 0
.class public super ResponseShardVO
.super java/lang/Object
.field private total I
.field private failed I
.field private successful I
.method public <init> : (III)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iloa... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:23:04 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:23:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,278 |
GridStats | /*
* This file is part of MotsCroisés.
*
* MotsCroisés 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.
*
* MotsCroisés is... | .version 52 0
.class public super GridStats
.super java/lang/Object
.field nBlacks I
.field nFreeBlacks I
.field nLetters I
.field nEmpty I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenu... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:41:11 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:41: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;
... | 147,279 |
SpringBean | /** Created by Walter on 8/13/16. */
public class SpringBean {
private CharSequence fieldNeedToBeMocked = "foo";
}
| .version 52 0
.class public super SpringBean
.super java/lang/Object
.field private fieldNeedToBeMocked Ljava/lang/CharSequence;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc 'foo'
L7: putfield F... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:02: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 21:02: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;
... | 147,280 |
CmsToolUserData | /*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free So... | .version 52 0
.class public super CmsToolUserData
.super java/lang/Object
.field private m_baseTools Ljava/util/Map;
.field private m_currentToolPaths Ljava/util/Map;
.field private m_rootKey Ljava/lang/String;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:57: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 17:57: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;
... | 147,281 |
circle | /**
* Write an application that inputs from the user the radius of a circle as an integer and prints
* the circle’s diameter, circumference and area using the floating-point value 3.14159 for π.
* [Note: You may also use the predefined constant Math.PI for the value of π.]
*/
import java.util.Scanner;
public class... | .version 52 0
.class public super circle
.super java/lang/Object
.field public static final Pi F = +3.141590118408203f
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:29:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:29: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;
... | 147,282 |
CreateDeploymentConfigResult | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | .version 52 0
.class public super CreateDeploymentConfigResult
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private deploymentConfigId Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:36:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:36: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;
... | 147,283 |
DubboLogo | /*
* 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 DubboLogo
.super java/lang/Object
.field public static final DUBBO Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:03: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
* Mon Jul 04 05:03: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;
... | 147,284 |
LoginInfo | /*
* Copyright 2013 huangyuhui <huanghongxun2008@126.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* ... | .version 52 0
.class public final super LoginInfo
.super java/lang/Object
.field public username Ljava/lang/String;
.field public password Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:24:55 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:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,285 |
TopicPartition | /** A topic name and partition number */
public final class TopicPartition {
private int hash = 0;
private final int partition;
private final String topic;
public TopicPartition(String topic, int partition) {
this.partition = partition;
this.topic = topic;
}
public int partition() {
return pa... | .version 52 0
.class public final super TopicPartition
.super java/lang/Object
.field private hash I
.field private final partition I
.field private final topic Ljava/lang/String;
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/O... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:55: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
* Sat Jul 02 08:55: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;
... | 147,286 |
KeePassDatabaseUnreadable | public class KeePassDatabaseUnreadable extends RuntimeException {
public KeePassDatabaseUnreadable(String message) {
super(message);
}
public KeePassDatabaseUnreadable(String message, Throwable e) {
super(message, e);
}
}
| .version 52 0
.class public super KeePassDatabaseUnreadable
.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
* Fri Jul 01 07:59: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
* Fri Jul 01 07:59: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;
... | 147,287 |
NoHistoryProviderAvailableException | /******************************************************************************
* Copyright (C) 2010-2016 CERN. All rights not expressly granted are reserved.
*
* This file is part of the CERN Control and Monitoring Platform 'C2MON'.
* C2MON is free software: you can redistribute it and/or modify it under the
* te... | .version 52 0
.class public super NoHistoryProviderAvailableException
.super java/lang/Exception
.field private static final serialVersionUID J = -8467068588031734986L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: retu... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:58: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 20:58: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;
... | 147,288 |
Solution | /*
* @lc app=leetcode id=1690 lang=java
*
* [1690] Stone Game VII
*
* https://leetcode.com/problems/stone-game-vii/description/
*
* algorithms
* Medium (42.13%)
* Total Accepted: 3.7K
* Total Submissions: 8.8K
* Testcase Example: '[5,3,1,4,2]'
*
* Alice and Bob take turns playing a game, with Alice sta... | .version 52 0
.class super Solution
.super java/lang/Object
.field cache [[I
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 64
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:30:30 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 07:30: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;
... | 147,289 |
Solution | import java.util.Arrays;
/** Script Created by daidai on 2017/8/6. */
public class Solution {
public int threeSumClosest(int[] nums, int target) {
Arrays.sort(nums);
int res = nums[0] + nums[1] + nums[2];
int deltaRes = Math.abs(target - res);
for (int i = 0; i < nums.length; i++) {
int j = i +... | .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 8
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:20:55 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:20:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,290 |
GetLocalAddress | /*
Copyright (C) 2012 Filippe Costa Spolti
This file is part of Hrstatus.
Hrstatus 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 v... | .version 52 0
.class public super GetLocalAddress
.super java/lang/Object
.field static ipv4 Ljava/net/InetAddress;
.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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:36:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.net.InetAddress;
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 10:36:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,291 |
Searcher | /**
* Class that demonstrates search algorithms
*
* @author Mark Guzdial
* @author Barb Ericson
*/
public class Searcher {
/** Implement a linear search through the list */
public static String linearFind(String target, String[] list) {
for (int index = 0; index < list.length; index++) {
if (target.... | .version 52 0
.class public super Searcher
.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 8
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:43:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:43: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;
... | 147,292 |
LinkedListNode | /**
* A node within the linked list.
*
* <p>From Commons Collections 3.1, all access to the <code>value</code> property is via the methods
* on this class.
*/
class LinkedListNode {
/** A pointer to the node before this node */
public /*@ nullable @*/ LinkedListNode previous;
/** A pointer to the node after... | .version 52 0
.class super LinkedListNode
.super java/lang/Object
.field public previous LLinkedListNode;
.field public next LLinkedListNode;
.field public value Ljava/lang/Object;
.method protected <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:26:55 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:26:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 147,293 |
CyclicBarrierTest | import java.util.concurrent.BrokenBarrierException;
import java.util.concurrent.CyclicBarrier;
public class CyclicBarrierTest {
public static void main(String[] args) {
CyclicBarrier cb =
new CyclicBarrier(
10,
() -> {
System.out.println("什么情况。。。。。。。");
}... | .version 52 0
.class public super CyclicBarrierTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:23: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 06:23: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;
... | 147,294 |
ElGamalGenParameterSpec | import java.security.spec.AlgorithmParameterSpec;
public class ElGamalGenParameterSpec implements AlgorithmParameterSpec {
private int primeSize;
/*
* @param primeSize the size (in bits) of the prime modulus.
*/
public ElGamalGenParameterSpec(int primeSize) {
this.primeSize = primeSize;
}
/**
... | .version 52 0
.class public super ElGamalGenParameterSpec
.super java/lang/Object
.implements java/security/spec/AlgorithmParameterSpec
.field private primeSize I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:08: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
* Fri Jul 01 07:08: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;
... | 147,295 |
MultiLevelRepeatableAnno | /*
* Copyright (c) 2012, 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 ... | .version 52 0
.class public super MultiLevelRepeatableAnno
.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 47
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:37: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:37: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;
... | 147,296 |
OclDebugProcess | /** <copyright> </copyright> */
public class OclDebugProcess {
// The generator for this class is currently disabled by option
// 'disableDebugSupport' in the .cs file.
}
| .version 52 0
.class public super OclDebugProcess
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 08:03:06 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 08:03: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;
... | 147,297 |
ProjectAlreadyExistsException | /** Thrown when an invalid menu data is submitted. */
public class ProjectAlreadyExistsException extends Exception {
private static final long serialVersionUID = 1L;
public ProjectAlreadyExistsException(final String message) {
super(message);
}
public ProjectAlreadyExistsException(final Exception ex) {
... | .version 52 0
.class public super ProjectAlreadyExistsException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.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/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:11: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 11:11: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;
... | 147,298 |
JobContext | /*
* Licensed to CRATE Technology GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not us... | .version 52 0
.class public super JobContext
.super java/lang/Object
.field public id Ljava/util/UUID;
.field public stmt Ljava/lang/String;
.field public started J
.method public <init> : (Ljava/util/UUID;Ljava/lang/String;J)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:39:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.UUID;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20: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;
... | 147,299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.