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 |
|---|---|---|---|---|---|
Link | /**
* The contents of this file are subject to the OpenMRS Public License Version 1.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://license.openmrs.org
*
* <p>Software distributed under the License is distributed on an "AS IS" b... | .version 52 0
.class public super Link
.super java/lang/Object
.field private label Ljava/lang/String;
.field private description Ljava/lang/String;
.field private url Ljava/lang/String;
.field private queryParameters Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:49:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:49: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;
... | 143,100 |
GCMChat | import java.io.Serializable;
/** Used for parsing the GCM json payload for the 'chat' type */
public class GCMChat implements Serializable {
private static final long serialVersionUID = -3920974316634829667L;
public int room;
public int member;
public int message;
}
| .version 52 0
.class public super GCMChat
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -3920974316634829667L
.field public room I
.field public member I
.field public message I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:51:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:51: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;
... | 143,101 |
CommonNS | /**
* Copyright 2016 William Van Woensel
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or... | .version 52 0
.class public super CommonNS
.super java/lang/Object
.field public static final ImpactNS Ljava/lang/String; = 'http://www.dal.ca/nichegroup/impactaf#'
.field public static final SleepApneaNS Ljava/lang/String; = 'http://www.dal.ca/nichegroup/sleepapnea#'
.field public static final rdfNS Ljava/lang/St... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:52: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:52: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;
... | 143,102 |
ClientTCP | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.net.Socket;
import java.net.UnknownHostException;
import java.util.*;
/** Client TCP de gestionnaire de tâches partagées */
public class ClientTCP {
private Socket clientSocket = null;... | .version 52 0
.class public super ClientTCP
.super java/lang/Object
.field private clientSocket Ljava/net/Socket;
.field private envoi Ljava/io/PrintWriter;
.field private reception Ljava/io/BufferedReader;
.field private sc Ljava/util/Scanner;
.field private choix Ljava/lang/Integer;
.method public <init> : (... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:18:47 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.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:18: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;
... | 143,103 |
OvhInstallTemplate | /** A structure describing informations about an Installation templates */
public class OvhInstallTemplate {
/**
* Names list of ovh installationtemplates compatibles with this server
*
* <p>canBeNull
*/
public String[] ovh;
/**
* Names list of yours installation templates compatibles with this se... | .version 52 0
.class public super OvhInstallTemplate
.super java/lang/Object
.field public ovh [Ljava/lang/String;
.field public personal [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 06:30: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
* Sat Jul 02 06:30: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;
... | 143,104 |
MemoryLane | /*
*http://codefu.mk/community9.html?subpage=problem&problemid=2365
*
*/
public class MemoryLane {
public String valentineWish(int[] lane) {
for (int i = 0; i < lane.length; i++) {
if (i >= 2) {
if (lane[i] == lane[i - 1]) {
int temp = lane[i - 1];
lane[i - 1] = lane[i - 2];
... | .version 52 0
.class public super MemoryLane
.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
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:58:21 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 15:58:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,105 |
SampleSoot | public class SampleSoot {
/*
public static void main(String[] args){
System.out.println("Running SampleSoot");
}
*/
/*private int attribut;
SampleSoot(){
attribut=100;
}*/
public static void main(String[] args) {
System.out.println("Running SampleSoot");
// try{
graphTest(
Int... | .version 52 0
.class public super SampleSoot
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:18:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:18:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,106 |
Point | /** Point which can represent a point or image dimensions. */
public class Point {
public int x;
public int y;
/**
* Construct a new point.
*
* @param x
* @param y
*/
public Point(int x, int y) {
this.x = x;
this.y = y;
}
public Point() {}
/**
* Return x component.
*
* ... | .version 52 0
.class public super Point
.super java/lang/Object
.field public x I
.field public y 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 Point x I
L9: aloa... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:33: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 16:33: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;
... | 143,107 |
PomGenerationException | /** Created by famaridon on 15/02/15. */
public class PomGenerationException extends Exception {
public PomGenerationException() {
super();
}
public PomGenerationException(String message) {
super(message);
}
public PomGenerationException(String message, Throwable cause) {
super(message, cause);
... | .version 52 0
.class public super PomGenerationException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 8
L4 9
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:45:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:45:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,108 |
FindPrime | class FindPrime {
public static void main(String args[]) {
for (int num = 1; num <= 10; num++) {
boolean isPrime;
if (num < 2) isPrime = false;
else isPrime = true;
for (int i = 2; i <= num / i; i++) {
if ((num % i) == 0) {
isPrime = false;
break;
}
... | .version 52 0
.class super FindPrime
.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 1
.end linenumbertable
.end code
.end method
.m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:08: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 15:08: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;
... | 143,109 |
GithubReleaseAssets | /** Github releases assets model. */
public class GithubReleaseAssets {
private final String browser_download_url;
public GithubReleaseAssets(String browser_download_url) {
this.browser_download_url = browser_download_url;
}
public String getBrowser_download_url() {
return browser_download_url;
}
}... | .version 52 0
.class public super GithubReleaseAssets
.super java/lang/Object
.field private final browser_download_url 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: a... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:31: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
* Sat Jul 02 04:31: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;
... | 143,110 |
ErrorConstants | public final class ErrorConstants {
public static final String ERR_CONCURRENCY_FAILURE = "error.concurrencyFailure";
public static final String ERR_ACCESS_DENIED = "error.accessDenied";
public static final String ERR_VALIDATION = "error.validation";
public static final String ERR_METHOD_NOT_SUPPORTED = "error.... | .version 52 0
.class public final super ErrorConstants
.super java/lang/Object
.field public static final ERR_CONCURRENCY_FAILURE Ljava/lang/String; = 'error.concurrencyFailure'
.field public static final ERR_ACCESS_DENIED Ljava/lang/String; = 'error.accessDenied'
.field public static final ERR_VALIDATION Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:20:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:20:01 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... | 143,111 |
IntervalTree | /** Created by Sarika on 5/24/2015. */
public class IntervalTree {
public double key;
public double low, high;
public IntervalTree left, right, parent;
public double maxHigh;
public IntervalTree(double low, double high) {
this.key = this.low = low;
this.high = high;
this.maxHigh = high;
this.... | .version 52 0
.class public super IntervalTree
.super java/lang/Object
.field public key D
.field public low D
.field public high D
.field public left LIntervalTree;
.field public right LIntervalTree;
.field public parent LIntervalTree;
.field public maxHigh D
.method public <init> : (DD)V
.code stack 6... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:39:41 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:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,112 |
People | public class People implements java.io.Serializable {
private int pid;
private String pname;
private String prealname;
private String pxuehao;
private String password;
private String phone;
private String pduanhao;
private String psex;
private String paddress;
private String pxueyuan;
private Stri... | .version 52 0
.class public super People
.super java/lang/Object
.implements java/io/Serializable
.field private pid I
.field private pname Ljava/lang/String;
.field private prealname Ljava/lang/String;
.field private pxuehao Ljava/lang/String;
.field private password Ljava/lang/String;
.field private phone Lj... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:23: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 16:23: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;
... | 143,113 |
Streams4 | import java.util.OptionalInt;
import java.util.stream.IntStream;
/**
* @author Benjamin Winterberg
*/
public class Streams4 {
public static void main(String[] args) {
outprint("\nfor:");
for (int i = 0; i < 10; i++) {
if (i % 2 == 1) {
System.out.println(i);
}
}
outprint("\nf... | .version 52 0
.class public super Streams4
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:11: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
* Fri Jul 01 19:11: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;
... | 143,114 |
FeedItem | /** Created by nitin on 9/5/15. */
public class FeedItem {
private String name;
private String logo;
private String ticker;
private String price;
private String high;
private String low;
private int id;
public FeedItem(
String name, String logo, String ticker, String price, String high, String lo... | .version 52 0
.class public super FeedItem
.super java/lang/Object
.field private name Ljava/lang/String;
.field private logo Ljava/lang/String;
.field private ticker Ljava/lang/String;
.field private price Ljava/lang/String;
.field private high Ljava/lang/String;
.field private low Ljava/lang/String;
.field p... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:49:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:49: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;
... | 143,115 |
Main | import java.util.*;
/** Created by tully. */
public class Main {
private static final int MEASURE_COUNT = 100;
public static void main(String... args) {
Collection<Integer> example = new ArrayList<>();
int min = 0;
int max = 9_999_999;
for (int i = min; i < max + 1; i++) {
example.add(i);
... | .version 52 0
.class public super Main
.super java/lang/Object
.field private static final MEASURE_COUNT I = 100
.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
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:08:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:08:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,116 |
Solution | class Solution {
public boolean threeConsecutiveOdds(int[] arr) {
int count = 0;
for (int i : arr) {
if (i % 2 != 0) {
count++;
} else {
count = 0;
}
if (count == 3) return true;
}
return false;
}
}
| .version 52 0
.class super Solution
.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 1
.end linenumbertable
.end code
.end method
.me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:33: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 19:33: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;
... | 143,117 |
Station | /** Created by baby on 4/6/2016. */
public class Station {
private final String name;
private final double lat;
private final double lng;
private final int id_st;
private final int id_line;
private final String route;
public Station(String name, double lat, double lng, int id_st, int id_line, String rout... | .version 52 0
.class public super Station
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private final lat D
.field private final lng D
.field private final id_st I
.field private final id_line I
.field private final route Ljava/lang/String;
.method public <init> : (Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:43:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:43:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,118 |
LanceWilliamsFormula | /*******************************************************************************
* Copyright (c) 2012 Eleni Mikroyannidi.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v2.1
* which accompanies this distribution, and is availa... | .version 52 0
.class public super LanceWilliamsFormula
.super java/lang/Object
.field private final alphaA D
.field private final alphaB D
.field private final beta D
.field private final gamma D
.method public <init> : (DDDD)V
.code stack 3 locals 9
L0: aload_0
L1: invokespecial Method java/lang... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:43: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
* Fri Jul 01 07:43: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;
... | 143,119 |
WarmUp2 | public final class WarmUp2 {
/*
* http://codingbat.com/prob/p186759
*
* Given a string, return true if the first instance of "x" in the string is
* immediately followed by another "x".
*
* doubleX("axxbb") → true
*
* doubleX("axaxax") → false
*
* doubleX("xxxxx") → true
*/
boolean d... | .version 52 0
.class public final super WarmUp2
.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
* Sun Jul 03 18:48: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
* Sun Jul 03 18:48: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;
... | 143,120 |
Utility | /** */
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
/**
* @author Aaron ZHENG
* @email fucheng.zheng@gmail.com
* @createAt 2 Aug, 2015 5:31:03 am
* @history
*/
public class Utility {
public static Date getDate() {
return Calendar.getInstance(Locale.CHINA).getTime();
}
}
| .version 52 0
.class public super Utility
.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 17
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:44:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.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:44: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;
... | 143,121 |
OSDetector | /** */
/**
* @author CODEWRS
*/
public class OSDetector {
private static String osName = System.getProperty("os.name").toUpperCase();
/**
* @return String
*/
public static String getOS() {
return osName;
}
/**
* @return boolean
*/
public static boolean isWindows() {
return (osName.ind... | .version 52 0
.class public super OSDetector
.super java/lang/Object
.field private static osName 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 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:44:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:44: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;
... | 143,122 |
Lookup | /*
* The MIT License
*
* Copyright (c) 2010, Kohsuke Kawaguchi
*
* 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,... | .version 52 0
.class public super Lookup
.super java/lang/Object
.field private final data Ljava/util/concurrent/ConcurrentHashMap; .fieldattributes
.signature Ljava/util/concurrent/ConcurrentHashMap<Ljava/lang/Class;Ljava/lang/Object;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 loc... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:14:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:14:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,123 |
FDTListFilesMsg | /*
* $Id$
*/
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
* The list files msg between FDT peers.
*
* @author Raimondas Sirvinskas
*/
public class FDTListFilesMsg implements Serializable {
public String listFilesFrom;
public List<String> filesInDir;
public FDTListF... | .version 52 0
.class public super FDTListFilesMsg
.super java/lang/Object
.implements java/io/Serializable
.field public listFilesFrom Ljava/lang/String;
.field public filesInDir Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : (... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:50:45 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:50:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,124 |
SingletonLazyDoubleChecked | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 CodeRevisited.com
*
* 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
* t... | .version 52 0
.class public super SingletonLazyDoubleChecked
.super java/lang/Object
.field private static volatile instance LSingletonLazyDoubleChecked;
.method private <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 14:55:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:55: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;
... | 143,125 |
PuppetScheduler | public class PuppetScheduler {
private static PuppetScheduler ps = new PuppetScheduler();
private PuppetScheduler() {}
public static PuppetScheduler getInstance() {
return ps;
}
public synchronized void doStop() {
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
// TODO... | .version 52 0
.class public super PuppetScheduler
.super java/lang/Object
.field private static ps LPuppetScheduler;
.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... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:16:45 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:16:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,126 |
ThreadFactory | import java.util.concurrent.atomic.AtomicInteger;
public class ThreadFactory implements java.util.concurrent.ThreadFactory {
final ThreadGroup group;
final AtomicInteger threadNumber = new AtomicInteger(1);
final String namePrefix;
final String threadName;
public ThreadFactory(String name) {
threadName... | .version 52 0
.class public super ThreadFactory
.super java/lang/Object
.implements java/util/concurrent/ThreadFactory
.field final group Ljava/lang/ThreadGroup;
.field final threadNumber Ljava/util/concurrent/atomic/AtomicInteger;
.field final namePrefix Ljava/lang/String;
.field final threadName Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:07:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThread;
import org.junit.runner.Ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:07: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;
... | 143,127 |
Prime | import java.util.ArrayList;
import java.util.List;
public class Prime {
private final List<Integer> primes = new ArrayList<>();
public Prime() {}
public void show(int limit) {
for (int i = 0; i < limit; i++) {
if (isPrime(i)) {
System.out.println(i);
}
}
}
public boolean isPr... | .version 52 0
.class public super Prime
.super java/lang/Object
.field private final primes Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/Integer;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial Method java/lang/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:26:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:26: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;
... | 143,128 |
SQResultSet | import java.util.HashMap;
import java.util.List;
public class SQResultSet {
private HashMap<String, List<Object>> resultsMap;
public SQResultSet(HashMap resultsMap) {
this.resultsMap = resultsMap;
}
/**
* Gets a List containing the information of a column, based on the column name.
*
* @param c... | .version 52 0
.class public super SQResultSet
.super java/lang/Object
.field private resultsMap Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/lang/String;Ljava/util/List<Ljava/lang/Object;>;>;
.end fieldattributes
.method public <init> : (Ljava/util/HashMap;)V
.code stack 2 lo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:35:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.HashMap;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.E... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:35: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;
... | 143,129 |
Constants | public class Constants {
/** wifi 网络环境. */
public static final int TYPE_WIFI = 0x01;
/** 移动网络环境. */
public static final int TYPE_MOBILE = 0x02;
/** 详细信息. */
public static final int VERBOSE = 0x01;
/** 调试信息. */
public static final int DEBUG = 0x02;
/** 通告信息. */
public static final int INFO = 0x0... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final TYPE_WIFI I = 1
.field public static final TYPE_MOBILE I = 2
.field public static final VERBOSE I = 1
.field public static final DEBUG I = 2
.field public static final INFO I = 3
.field public static final WARN I = 4 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:34:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:34: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;
... | 143,130 |
Profile | /*
* Profile.java
*
* Created on 23 Январь 2010 г., 15:51
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
/**
* @author Vladimir Krukov
*/
public final class Profile {
public static final int PROTOCOL_ICQ = 0;
public static final int PROTOCOL_MRIM = ... | .version 52 0
.class public final super Profile
.super java/lang/Object
.field public static final PROTOCOL_ICQ I = 0
.field public static final PROTOCOL_MRIM I = 1
.field public static final PROTOCOL_JABBER I = 2
.field public static final PROTOCOL_VKWEB I = 3
.field public static final PROTOCOL_MSN I = 4
.fie... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:13:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:13:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,131 |
CannotLoadWorksheetException | /*
* Copyright 2021 Frederic Thevenet
*
* 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 app... | .version 52 0
.class public super CannotLoadWorksheetException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 29
L4 30
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:47:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:47:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,132 |
DataBindingException | /*
* Copyright (c) 2015 Falko Schumann
* Released under the terms of the MIT License.
*/
/**
* Wird bei Fehlern beim Überführen eines POJO, das ein Datum darstellt, in ein {@code Data}, das
* eine Attributgruppe darstellt oder beim umgekehrten Überführungsweg geworfen.
*
* @author Falko Schumann
* @since 1.0
... | .version 52 0
.class public super DataBindingException
.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
* Mon Jul 04 10:58: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 10:58: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;
... | 143,133 |
XceliteException | /*
Copyright [2013-2014] eBay Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | .version 52 0
.class public super XceliteException
.super java/lang/RuntimeException
.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/RuntimeException <init> (Ljava... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:59:43 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.MockException;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:59: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;
... | 143,134 |
UniqueNumGenerator | public class UniqueNumGenerator {
private long next = 0;
public UniqueNumGenerator(long min) {
next = min;
}
public synchronized long getNext() {
return next++;
}
public synchronized void setNext(long next) {
if (this.next > next)
throw new IllegalArgumentException(
"Cannot s... | .version 52 0
.class public super UniqueNumGenerator
.super java/lang/Object
.field private next J
.method public <init> : (J)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: lconst_0
L6: putfield Field UniqueNumGenerator next J... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:01:00 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 12:01: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;
... | 143,135 |
User | import java.io.File;
/** Created by sarabiaj on 5/1/2018. */
public class User {
private int id = 1;
private File audio;
private String hash;
public User(File audio) {
this.audio = audio;
}
public User(File audio, String hash) {
this.audio = audio;
this.hash = hash;
}
public User(int id... | .version 52 0
.class public super User
.super java/lang/Object
.field private id I
.field private audio Ljava/io/File;
.field private hash Ljava/lang/String;
.method public <init> : (Ljava/io/File;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: a... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:18:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:18: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;
... | 143,136 |
OperationException | /**
* Eccezione contenente un codice di errore e un messaggio, utile per essere poi riconosciuta
* esternamente
*
* @author Nicolo' Chieffo
*/
public class OperationException extends RuntimeException {
private static final long serialVersionUID = 1L;
private final String statusCode;
private final String de... | .version 52 0
.class public super OperationException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.field private final statusCode Ljava/lang/String;
.field private final details Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:56:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:56:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,137 |
Images | /** Created by Yixin Luo on 15-4-7. */
public class Images {
public static final String[] pictures =
new String[] {
// put the picture's url here, which you want to download
"http://img.my.csdn.net/uploads/201309/01/1378037235_3453.jpg",
"http://img.my.csdn.net/uploads/201309/01/1378037... | .version 52 0
.class public super Images
.super java/lang/Object
.field public static final pictures [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 12:59:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:59:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,138 |
Queue | /*
* 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 Queue
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private name Ljava/lang/String;
.field private uRL Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method jav... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:40:37 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:40: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;
... | 143,139 |
Util | public class Util {
public static boolean equalObjects(Object a, Object b) {
if (a == b) return true;
if (a == null || b == null) return false;
return a.equals(b);
}
}
| .version 52 0
.class public super Util
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:37: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
* Sun Jul 03 20:37: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;
... | 143,140 |
Headers | public class Headers {
public static final String X_TOTAL_COUNT = "X-Total-Count";
}
| .version 52 0
.class public super Headers
.super java/lang/Object
.field public static final X_TOTAL_COUNT Ljava/lang/String; = 'X-Total-Count'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linen... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:07: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
* Fri Jul 01 21:07: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;
... | 143,141 |
Solution | import java.io.FileNotFoundException;
import java.net.URISyntaxException;
/* Исключения
Есть метод, который выбрасывает два исключения, унаследованные от Exception, и два унаследованных от RuntimeException:
NullPointerException, ArithmeticException, FileNotFoundException, URISyntaxException.
Нужно перехватить NullPoi... | .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 14
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:00:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import java.net.URISyntaxException;
import org.evosuite.runtime.EvoRunner;
impo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:00: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;
... | 143,142 |
Abst | abstract class Abst {
void findSolution() {
step1();
step2();
step3();
step4();
}
private void step1() {
System.out.println("Abst.step1");
}
abstract void step2();
abstract void step3();
void step4() {
System.out.println("Abst.step4");
}
}
| .version 52 0
.class super abstract Abst
.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 3
.end linenumbertable
.end code
.end method ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:00: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
* Mon Jul 04 13:00:15 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... | 143,143 |
ImageLoadException | import java.io.IOException;
/** Exception while image loading */
public class ImageLoadException extends IOException {
public ImageLoadException() {}
public ImageLoadException(String detailMessage) {
super(detailMessage);
}
public ImageLoadException(String message, Throwable cause) {
super(message, c... | .version 52 0
.class public super ImageLoadException
.super java/io/IOException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/io/IOException <init> ()V
L4: return
L5:
.linenumbertable
L0 9
L4 10
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:55:45 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:55:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,144 |
ValueDecoder | class ValueDecoder {
private final double scaleFactor;
private final double offset;
private final Number missingValue;
ValueDecoder(double scaleFactor, double offset, Number missingValue) {
this.scaleFactor = scaleFactor;
this.offset = offset;
this.missingValue = missingValue;
}
double decode... | .version 52 0
.class super ValueDecoder
.super java/lang/Object
.field private final scaleFactor D
.field private final offset D
.field private final missingValue Ljava/lang/Number;
.method <init> : (DDLjava/lang/Number;)V
.code stack 3 locals 6
L0: aload_0
L1: invokespecial Method java/lang/Objec... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:52: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 16:52: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;
... | 143,145 |
User | /**
* User class.
*
* @author Kuzmin Danila (mailto:bus1d0@mail.ru)
* @version $Id$
* @since 0.1.3
*/
public class User {
/** id - identificator. */
private int id;
/** name - name. */
private String name;
/** city - city. */
private String city;
/**
* Constructor.
*
* @param id - id.
*... | .version 52 0
.class public super User
.super java/lang/Object
.field private id I
.field private name Ljava/lang/String;
.field private city Ljava/lang/String;
.method <init> : (ILjava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <i... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:04: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
* Sat Jul 02 18:04: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;
... | 143,146 |
EntityException | /*
Copyright 2021 Will Winder
This file is part of Universal Gcode Sender (UGS).
UGS 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 lat... | .version 52 0
.class public super EntityException
.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:
.lin... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:39:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:39:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,147 |
Monitor | public class Monitor {}
| .version 52 0
.class public super Monitor
.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 16:57: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
* Sat Jul 02 16:57: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;
... | 143,148 |
TestSea6Test4 | public class TestSea6Test4 {
public static void main(String[] args) {
char[][] matrix = {
{' ', ' ', ' ', ' ', ' ', ' ', 'b', ' '},
{' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '},
{'b', 'b', ' ', ' ', ' ', ' ', ' ', ' '},
{' ', ' ', ' ', 'b', ' ', ' ', ' ', 'b'},
{' ', ' ', ' ', ' ', ' ', ... | .version 52 0
.class public super TestSea6Test4
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:15:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:15:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,149 |
FileCheck | /**
* Copyright (C) 2010-2017 Gordon Fraser, Andrea Arcuri and EvoSuite contributors
*
* <p>This file is part of EvoSuite.
*
* <p>EvoSuite 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 vers... | .version 52 0
.class public super FileCheck
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:16:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.EvoSuiteFile;
import org.evosuite.runtime.te... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:16: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;
... | 143,150 |
MyException | /**
* 自定义异常
*
* @author fangxm
*/
public class MyException extends Exception {
private int status;
private String message;
public MyException(int status, String message) {
this.status = status;
this.message = message;
}
public int getStatus() {
return status;
}
@Override
public Strin... | .version 52 0
.class public super MyException
.super java/lang/Exception
.field private status I
.field private message Ljava/lang/String;
.method public <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:01:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:01: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;
... | 143,151 |
DistanceObject | import java.util.Comparator;
public class DistanceObject {
private double value = 9999999999999.999999;
private String key = "";
DistanceObject(String k, double v) {
this.key = k;
this.value = v;
}
void put(String k, double v) {
this.key = k;
this.value = v;
}
double getValue() {
... | .version 52 0
.class public super DistanceObject
.super java/lang/Object
.field private value D
.field private key Ljava/lang/String;
.method <init> : (Ljava/lang/String;D)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc2_w +100... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:55: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 14:55: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;
... | 143,152 |
HeatMapCell | import java.text.DecimalFormat;
public class HeatMapCell {
private static String[] columns;
private static DecimalFormat decimalFormat;
private double contributionToOverallChange;
public HeatMapCell(
String dimensionValue,
double baselineValue,
double currentValue,
double numeratorBas... | .version 52 0
.class public super HeatMapCell
.super java/lang/Object
.field private static columns [Ljava/lang/String;
.field private static decimalFormat Ljava/text/DecimalFormat;
.field private contributionToOverallChange D
.field dimensionValue Ljava/lang/String;
.field baselineValue D
.field baselineCDFVal... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:58:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:58:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,153 |
Charsets | /*
* 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 Charsets
.super java/lang/Object
.field public static final ENCODING_ISO_8859_1 Ljava/lang/String; = 'ISO-8859-1'
.field public static final ENCODING_US_ASCII Ljava/lang/String; = 'US-ASCII'
.field public static final ENCODING_UTF_16 Ljava/lang/String; = 'UTF-16'
.field public st... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:15:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.nio.charset.Charset;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:15: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;
... | 143,154 |
ProtocolException | /**
* Copyright 2011 Google Inc.
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed ... | .version 52 0
.class public super ProtocolException
.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:
.linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:49:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockException;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:49: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;
... | 143,155 |
VQ | /******************************************************************************
* *
* Copyright (c) 1999-2003 Wimba S.A., All Rights Reserved. *
* *
... | .version 52 0
.class public super VQ
.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 78
.end linenumbertable
.end code
.end met... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:28:52 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 10:28: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;
... | 143,156 |
Jugador | public class Jugador {
/*** Lista de variables ***/
private String nombreJugador;
private int partidasGanadas;
private int partidasPerdidas;
private int partidasEmpatadas;
private int valorDeJugador;
private int valorDeGaneJugador;
/**** Constructores ****/
// Constructor predeterminado
public Ju... | .version 52 0
.class public super Jugador
.super java/lang/Object
.field private nombreJugador Ljava/lang/String;
.field private partidasGanadas I
.field private partidasPerdidas I
.field private partidasEmpatadas I
.field private valorDeJugador I
.field private valorDeGaneJugador I
.method public <init> : ()... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:37:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:37: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;
... | 143,157 |
OpenSessionException | public class OpenSessionException extends Exception {
private static final long serialVersionUID = -8978029355959601295L;
public OpenSessionException(String text) {
super(text);
}
}
| .version 52 0
.class public super OpenSessionException
.super java/lang/Exception
.field private static final serialVersionUID J = -8978029355959601295L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <ini... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:45:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:45:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,158 |
TextFieldWithLimit | import java.awt.*;
import java.awt.event.*;
public class TextFieldWithLimit extends TextField implements KeyListener {
private int maxLength;
public TextFieldWithLimit(String initialStr, int col, int maxLength) {
super(initialStr, col);
this.maxLength = maxLength;
addKeyListener(this);
}
public T... | .version 52 0
.class public super TextFieldWithLimit
.super java/awt/TextField
.implements java/awt/event/KeyListener
.field private maxLength I
.method public <init> : (Ljava/lang/String;II)V
.code stack 3 locals 4
L0: aload_0
L1: aload_1
L2: iload_2
L3: invokespecial Method java/awt/Tex... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:46:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:46: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;
... | 143,159 |
Logger | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Dimitrijs Fedotovs <www.bug.guru>
*
* 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 ... | .version 52 0
.class public super Logger
.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 33
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:46:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:46: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;
... | 143,160 |
TradeProcessor | public abstract class TradeProcessor {
public void processTrade() {
System.out.println("processing common trade data");
processExchangeSpecificExtensions();
}
protected abstract void processExchangeSpecificExtensions();
}
| .version 52 0
.class public super abstract TradeProcessor
.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
* Sun Jul 03 15:52:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 15:52:54 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... | 143,161 |
Functions | /*
* Copyright 2015 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | .version 52 0
.class public final super Functions
.super java/lang/Object
.method public static compose : (Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/util/function/Function;
.code stack 3 locals 2
L0: aload_0
L1: ldc 'f1'
L3: invokestatic Method java/util/Objects requireNon... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:24:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.util.function.BiConsumer;
import java.util.function.BiFunction;
import java.util.function.Consumer;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:24:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,162 |
TestIOProcess | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
/**
* Created by Defias on 2017/3/17.
*
* <p>java多进程 Java提供了两种方法用来启动进程: 1)使用java.lang.Runtime的exec()方法 2)使用ProcessBuilder的start()方法
*
* <p>java.lang.Process类 一个抽象类(大部分的方法均是抽象的),封装了一个进程(即一个执行程序)... | .version 52 0
.class public super TestIOProcess
.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 30
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:12:13 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 19:12: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;
... | 143,163 |
Constants | public class Constants {
public static final String PAGE_NUM = "20";
public static final String POINT_NUM = "10";
public static final String CHART_DAYS = "7";
public static final String DATA_DAYS = "30";
public static final String ADMIN = "admin";
public static final String DEFAULT_TIMEONE = "Europe/London"... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final PAGE_NUM Ljava/lang/String; = '20'
.field public static final POINT_NUM Ljava/lang/String; = '10'
.field public static final CHART_DAYS Ljava/lang/String; = '7'
.field public static final DATA_DAYS Ljava/lang/String; = ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:13:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:13: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;
... | 143,164 |
LineCommentAtTheEndOfFile | public class LineCommentAtTheEndOfFile {} // EOF on this line
| .version 52 0
.class public super LineCommentAtTheEndOfFile
.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
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:32: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
* Fri Jul 01 23:32: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;
... | 143,165 |
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
* Sun Jul 03 18:55:59 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.io.IOException;
import java.nio.ByteBuffer;
im... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:55: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;
... | 143,166 |
p025 | /**
* https://projecteuler.net/problem=25
*
* <p>Validated.
*/
import java.math.BigInteger;
class p025 {
public static void main(String[] args) {
long s = System.nanoTime();
BigInteger a = BigInteger.ONE;
BigInteger b = BigInteger.ONE;
int index = 2;
while (true) {
a = a.add(b);
i... | .version 52 0
.class super p025
.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 9
.end linenumbertable
.end code
.end method
.method... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:11:16 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.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:11:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,167 |
SaveNamespaceCancelledException | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class super SaveNamespaceCancelledException
.super java/io/IOException
.field private static final serialVersionUID J = 1L
.method <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/io/IOException <init> (Ljava/lang/String;... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:40: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 03:40: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;
... | 143,168 |
IllegalSessionState | /** Created by beolnix on 31/10/15. */
public class IllegalSessionState extends Exception {
public IllegalSessionState(String message) {
super(message);
}
public IllegalSessionState(String message, Throwable cause) {
super(message, cause);
}
public IllegalSessionState(Throwable cause) {
super(c... | .version 52 0
.class public super IllegalSessionState
.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:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:57:03 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 07:57: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;
... | 143,169 |
API | /** Created by 95199 on 2016/3/13. */
public class API {
public static final String DISCOVERY_RECOMMEND =
"http://mobile.ximalaya.com/mobile/discovery/v2/recommends?channel=and-d3&device=android&includeActivity=true&includeSpecial=true&scale=2&version=4.3.50.2";
// http://mobile.ximalaya.com/mobile/others/al... | .version 52 0
.class public super API
.super java/lang/Object
.field public static final DISCOVERY_RECOMMEND Ljava/lang/String; = 'http://mobile.ximalaya.com/mobile/discovery/v2/recommends?channel=and-d3&device=android&includeActivity=true&includeSpecial=true&scale=2&version=4.3.50.2'
.field public static final ALB... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:17: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
* Fri Jul 01 09:17: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;
... | 143,170 |
Pizza | /**
* Copyright (C) 2009-2012 the original author or authors. See the notice.md file distributed with
* this work for additional information regarding copyright ownership.
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You m... | .version 52 0
.class public super Pizza
.super java/lang/Object
.field public quantity I
.field public size I
.field public crust Ljava/lang/String;
.field public toppings Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:41:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:41: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;
... | 143,171 |
MediaTypes | /*******************************************************************************
* Copyright (c) 2005, 2014 springside.github.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
*******************************************************************************/
/**
* 带UTF-8 charset 定义的MediaType.
... | .version 52 0
.class public super MediaTypes
.super java/lang/Object
.field public static final APPLICATION_XML Ljava/lang/String; = 'application/xml'
.field public static final APPLICATION_XML_UTF_8 Ljava/lang/String; = 'application/xml; charset=UTF-8'
.field public static final JSON Ljava/lang/String; = 'applica... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:25:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:25: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;
... | 143,172 |
Scrabble |
class Scrabble {
int score;
Scrabble(String word) {
score = word.toUpperCase().codePoints().map(this::scoreMapper).sum();
}
public int scoreMapper(int c) {
switch (c) {
case 'D':
case 'G':
return 2;
case 'B':
case 'C':
case 'M':
case 'P':
return 3;... | .version 52 0
.class super Scrabble
.super java/lang/Object
.field score I
.method <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: invokevirtual Method java/lang/String toUpperCase ()Lja... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:37: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
* Fri Jul 01 23:37: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;
... | 143,173 |
Uri1051 | import java.util.Scanner;
public class Uri1051 {
public static void main(String[] args) {
double taka = 0, tax = 0, anotherTax = 0;
Scanner scan = new Scanner(System.in);
taka = scan.nextDouble();
if (taka > 4500) {
tax = (79.9992 + 269.9982);
anotherTax = (taka - 4500) * .28;
ta... | .version 52 0
.class public super Uri1051
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:25:47 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 09:25: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;
... | 143,174 |
BooleanResult | /**
* @author mh
* @since 15.03.16
*/
public class BooleanResult {
public static final BooleanResult TRUE = new BooleanResult(true);
public static final BooleanResult FALSE = new BooleanResult(false);
public final Boolean value;
public BooleanResult(Boolean value) {
this.value = value;
}
}
| .version 52 0
.class public super BooleanResult
.super java/lang/Object
.field public static final TRUE LBooleanResult;
.field public static final FALSE LBooleanResult;
.field public final value Ljava/lang/Boolean;
.method public <init> : (Ljava/lang/Boolean;)V
.code stack 2 locals 2
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:04:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:04: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;
... | 143,175 |
PojoEvent | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public super PojoEvent
.super java/lang/Object
.field private accountNumber I
.field private name Ljava/lang/String;
.field private amount 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
* Sat Jul 02 06:04: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:04: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;
... | 143,176 |
PortProber | /*
Copyright 2010 WebDriver committers
Copyright 2010 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | .version 52 0
.class public super PortProber
.super java/lang/Object
.field private static final random Ljava/util/Random;
.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 00:58:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.concurrent.TimeUnit;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:58: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;
... | 143,177 |
Main | import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Scanner;
/**
* Created by Andrey Nagorny on 13.10.15.
*
* @author Andrey Nagorny Точка входа в программу и демонстрация использования вычисляющего метода.
*/
public class Mai... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 15
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:47:16 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 19:47:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,178 |
EquipmentOption | public class EquipmentOption {
private String name;
private String description;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
t... | .version 52 0
.class public super EquipmentOption
.super java/lang/Object
.field private name Ljava/lang/String;
.field private description Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:24:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:24: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;
... | 143,179 |
ReverseInteger | /**
* Reverse digits of an integer.
*
* <p>Example1: x = 123, return 321 Example2: x = -123, return -321
*
* <p>The input is assumed to be a 32-bit signed integer. Your function should return 0 when the
* reversed integer overflows.
*/
public class ReverseInteger {
public int reverseString(int x) {
// Spe... | .version 52 0
.class public super ReverseInteger
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:29: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
* Sat Jul 02 00:29:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,180 |
RebuildUrlUtils | import java.util.Arrays;
import java.util.Map;
public class RebuildUrlUtils {
/**
* 忽略参数重构URL地址
*
* @param url
* @param ignoreParmarName
* @return
*/
public static String rebuildIgnoreParmars(
String url, Map<String, String[]> parmars, String... ignoreParmarName) {
StringBuffer buf = n... | .version 52 0
.class public super RebuildUrlUtils
.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 co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:11:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:11: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;
... | 143,181 |
JShellTest | /** Created by YaZhou.Gu on 2018/5/9. */
public class JShellTest {
public static void main(String[] args) {
// 许多语言已经具有交互式编程环境,Java 现在加入了这个俱乐部。
// 您可以从控制台启动 jshell ,并直接启动输入和执行 Java 代码。
// jshell 的即时反馈使它成为探索 API 和尝试语言特性的好工具
// 测试一个 Java 正则表达式是一个很好的说明 jshell 如何使您的生活更轻松的例子。
// 交互式 shell 还可以提供良好的教学... | .version 52 0
.class public super JShellTest
.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
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:29:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:29: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;
... | 143,182 |
Info | /** Created by Giymo11 on 18.08.2014. */
public final class Info {
public static final String ID = "testmod";
public static final String NAME = "TestMod";
public static final String VERSION = "0.1";
public static final String CLIENTPROXY = "at.giymo11.testmod.proxy.ClientProxy";
public static final String SER... | .version 52 0
.class public final super Info
.super java/lang/Object
.field public static final ID Ljava/lang/String; = 'testmod'
.field public static final NAME Ljava/lang/String; = 'TestMod'
.field public static final VERSION Ljava/lang/String; = '0.1'
.field public static final CLIENTPROXY Ljava/lang/String; =... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:03:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:03: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;
... | 143,183 |
ColorConversion | /* @License
-------------------------------------------------------------------------------
| osgAndroid - Copyright (C) 2012 Rafael Gait�n, Mirage Technologies S.L. |
| |
| This library is free software; you can redistribute it and/or modi... | .version 52 0
.class public super ColorConversion
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 22
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:07:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:07:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,184 |
SavePlayer | /*
* This file is part of Reemlift.
*
* Reemlift 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.
*
* Reemlift is distributed in... | .version 52 0
.class public super SavePlayer
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 25
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:10:36 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:10: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;
... | 143,185 |
Note | /** Created by 99460 on 2017/7/3. */
public class Note {
public boolean isrecord;
public String note;
public boolean isalarm;
public int id;
public String date;
public boolean isphoto;
public boolean isalbum;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id... | .version 52 0
.class public super Note
.super java/lang/Object
.field public isrecord Z
.field public note Ljava/lang/String;
.field public isalarm Z
.field public id I
.field public date Ljava/lang/String;
.field public isphoto Z
.field public isalbum Z
.method public getId : ()I
.code stack 1 locals 1... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:22: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
* Mon Jul 04 14:22: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;
... | 143,186 |
SystemClock | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public super SystemClock
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 22
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:25:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.System;
import org.junit.runner.RunWith;
@RunWith(Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:25: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;
... | 143,187 |
HexEncode |
@SuppressWarnings("array.access.unsafe.high")
public class HexEncode {
private static final char[] digits = {
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'
};
public static String hexEncode(byte[] bytes) {
StringBuffer s = new StringBuffer(bytes.length * 2);
for (int... | .version 52 0
.class public super HexEncode
.super java/lang/Object
.field private static final digits [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 4
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:46: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
* Fri Jul 01 17:46: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;
... | 143,188 |
Book | public class Book {
private int id;
private String name;
public Book() {}
public Book(int id, String name) {
super();
this.id = id;
this.name = name;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
... | .version 52 0
.class public super Book
.super java/lang/Object
.field private id I
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:30:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:30:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,189 |
Constants | public class Constants {
public static final String APP_TAG = "icecondor";
public static final int SIGNAL_NEW_ACTIVITY = 1;
public static final String ACTION_WAKE_ALARM = "com.icecondor.WAKE_ALARM";
public static final String ICECONDOR_API_URL = "wss://api.icecondor.com/v2";
public static final String VERSIO... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final APP_TAG Ljava/lang/String; = 'icecondor'
.field public static final SIGNAL_NEW_ACTIVITY I = 1
.field public static final ACTION_WAKE_ALARM Ljava/lang/String; = 'com.icecondor.WAKE_ALARM'
.field public static final ICECO... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:29: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 18:29: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;
... | 143,190 |
Grille | public class Grille {
// grid
int grille[][];
/**
* Grid's constructor w/ length
*
* @param n
*/
public Grille(int n) {
grille = new int[n][n];
}
/**
* @param i
* @param j
* @return the value
*/
public int getGrille(int i, int j) {
return grille[i][j];
}
/**
* set v... | .version 52 0
.class public super Grille
.super java/lang/Object
.field grille [[I
.method public <init> : (I)V
.code stack 3 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: iload_1
L7: multianewarray [[I 2
L11: putfield F... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:06:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:06: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;
... | 143,191 |
LinkedListNode | public class LinkedListNode {
public /*@ nullable @*/ LinkedListNode previous;
public /*@ nullable @*/ LinkedListNode next;
public /*@ nullable @*/ Object value;
public LinkedListNode() {}
}
| .version 52 0
.class public super LinkedListNode
.super java/lang/Object
.field public previous LLinkedListNode;
.field public next LLinkedListNode;
.field public value Ljava/lang/Object;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:41:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:41: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;
... | 143,192 |
ToDoItems | /** Created by edwin.njeru on 28/08/2017. */
public class ToDoItems {
// TODO FRAMEWORK: use JSR 354, money API
}
| .version 52 0
.class public super ToDoItems
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:16: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
* Sun Jul 03 17:16: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;
... | 143,193 |
VaultoroUtils | import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimeZone;
/** A central place for shared Vaultoro properties */
public final class VaultoroUtils {
private static DateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S... | .version 52 0
.class public final super VaultoroUtils
.super java/lang/Object
.field private static format Ljava/text/DateFormat;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:32:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.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 00:32: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;
... | 143,194 |
StringUtils | public class StringUtils {
/** 判断字符串是否有值,如果为null或者是空字符串或者只有空格或者为"null"字符串,则返回true,否则则返回false */
public static boolean isEmpty(String value) {
if (value != null
&& !"".equalsIgnoreCase(value.trim())
&& !"null".equalsIgnoreCase(value.trim())) {
return false;
} else {
return true;
... | .version 52 0
.class public super StringUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:03: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
* Fri Jul 01 19:03:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,195 |
ItemPegaiConduit | /** Created by Yari on 11/7/2014. */
public class ItemPegaiConduit {}
| .version 52 0
.class public super ItemPegaiConduit
.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:11:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:11: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;
... | 143,196 |
EscapeAnalysisTest | public class EscapeAnalysisTest {
public static void main(String[] args) {
Employee employee = new Employee("UNIT", new Person("The Doctor", 907));
while (true) {
Person person = employee.getPerson();
// this caller does not modify the object, so defensive copy was unnecessary
System.out.p... | .version 52 0
.class public super EscapeAnalysisTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:09:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10: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;
... | 143,197 |
HelloTest | /*
* Jeeplate
* Copyright (C) 2014 Jari Kuusisto
*
* 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 pro... | .version 52 0
.class public super HelloTest
.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 21
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:42: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
* Sat Jul 02 07:42: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;
... | 143,198 |
NotFoundError | public class NotFoundError extends RuntimeException {
public NotFoundError() {}
public NotFoundError(String message) {
super(message);
}
public NotFoundError(String message, Throwable cause) {
super(message, cause);
}
public NotFoundError(Throwable cause) {
super(cause);
}
public NotFoun... | .version 52 0
.class public super NotFoundError
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 4
L4 5
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:06:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:06: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;
... | 143,199 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.